thebeebs | API restriction Visual Studio 2008 error
thebeebs
Zeroing the desk - Ignore the design
 
 

API restriction Visual Studio 2008 error

by thebeebs 14. April 2009 03:46

A few minutes ago I got the following error:

Error    1    API restriction: The assembly 'file:///C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.

It was weird.

To solve it I removed the two unit testing framework dlls from my project (see below) restarted Vs  then re addeded them back.

    <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.VisualStudio.TeamSystem.Data.UnitTesting, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

That seemed to work.

Tags:

Comments (2) -

Where
Where United States
6/9/2009 12:07:40 AM #

I did the google search about this error and i found eexactly the same solution which u did.

Commercial Deep Fryer
Commercial Deep Fryer United States
6/9/2009 12:09:58 AM #

i also got this error and was really struggling to solve it.thanks to you now it has been resolved

Comments are closed