Friday, December 04, 2009 9:25 AMI am using Vusual Studio 2008 SP1. I need some dlls for my unit tests. I' ve created test project and tried to add dlls to folder "TestResources" that I've created in the project. During files adding Visual Studio opened Output window and showed messages likeError loading xxx.dll: Unable to load the test container 'xxx.dll' or one of its dependencies. Error details:System.IO.FileNotFoundException: Could not load file or assembly 'xxx' or one of its dependencies. The system cannot find the file specified.System.IO.FileNotFoundException: Could not load file or assembly 'xxx' or one of its dependencies. The system cannot find the file specified.When I was trying to add next folder with dlls Visual Studio crashed.When I create class library project and add the same files to TestResources folder everything is fine. VS add dlls to directiry just like common files.Does anybody know how to avoid reflection loading dll in test project?
Wednesday, December 16, 2009 10:07 PMHello,
Some questions for you
1) How are you adding the dlls to your folder?
2) Why not use deployment (via your test settings file) to actually deploy the dlls that you need with your tests?
3) Would you be able to try to reproduce this on VS 2010?
David Gorena Elizondo
MSFT Visual Studio Team Test