My Azure web project just started showing an assembly binding error - Microsoft.Data.Edm v5.6.2.0 could not be found.
My project references this version of the assembly from the nuget package.
I found the following:
- When I create the project, the bin \ folder contains the correct version of the assembly.
- When I deploy the project in the Azure emulator, the assembly in bin \ is overwritten with the older version: v5.6.0.0.
The older version does not refer to any of the projects of my solution, but it is referred to by Microsoft.WindowsAzure.Storage v4.2.1.0, to which my project refers.
(Actually, the storage assembly refers to older versions of three assemblies, which also refer to my project: Microsoft.Data.Edm, Microsoft.Data.OData and Microsoft.Data.Services.Client - all three new assemblies overwrite the old assemblies during deployment .)
This was due to blue: I repeated some maintenance, pressed Ctrl + F5 for the 20th day this afternoon and suddenly saw an error.
- the new version is overwritten in the web project folder
bin\, but not overwritten in the folders [azure project]\csx\Debug\roles\[web project name]\approot\binor[azure project]\obj\Debug\[web project name]\bin - referenced links set to copy local
- project file diff does not show changes since last commit
- Azure worker role in the same solution has the same set of links but is not affected
- neither restarting VS nor rebooting fixed the problem.
Is there a way to beat Visual Studio in the queue?