tags:

views:

429

answers:

1

HI all misters

When I try Debug my project (unit tests) i get the following error:

LoadFromContext was detected Message: The assembly named 'Microsoft.VisualStudio.QualityTools.Common' was loaded from 'file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.Common.DLL' using the LoadFrom context. The use of this context can result in unexpected behavior for serialization, casting and dependency resolution. In almost all cases, it is recommended that the LoadFrom context be avoided. This can be done by installing assemblies in the Global Assembly Cache or in the ApplicationBase directory and using Assembly.Load when explicitly loading assemblies.

It's nightmare for me...!!!

I am using VS 2008 profession, XP sp2 Any suggestions , please ??

Thanks.

+3  A: 

I've been having this problem and I just figured out how to stop it.

In Visual Studio, click on "Exceptions" under the "Debug" menu. Turn off the "Thrown" checkbox for all of the items. If you want, you can just turn off the one "LoadFromContext" exception under the "Managed Debugging Assistance" category.

David
Brilliant, thanks!
David_Jarrett
Awesome. I never thought to look in that tree for specific values.
EndangeredMassa