Could not load file or assembly Microsoft.WindowsAzure.StorageClient

I ran into this error today when trying to configure Autoscaling in Azure using WASABi.

“Could not load file or assembly ‘Microsoft.WindowsAzure.StorageClient, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”:”Microsoft.WindowsAzure.StorageClient, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35”

To fix this, you will need to add assembly binding redirects for the Windows Azure StorageClient library.

Once you have made these changes, everything should start working.

Creative Commons License

What do you think?