none
API restriction: The assembly 'foo.dll' has already loaded from a different location. (Azure WebRole)

    Question

  • I get the following error inside the "Handle MSTest Exception" stage of my team build:

    API restriction: The assembly 'file:///C:\Builds\1\foo\foo\Binaries\_PublishedWebsites\fooWebRole\bin\foo.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.

    The solution contains a number of class libraries as well as a Windows Azure Web Role and Cloud Service Project. Unit tests are enabled.

    Do you have any suggestions that I could try to fix this error?

    I'm using Team Build 2010, Azure SDK 1.2 and the .NET Framework 4.0 for all projects within the solution.

    Tuesday, June 08, 2010 10:17 AM

Answers

All replies