MSTest and app.config issue
I am stuck trying to automate unit tests runs with MSTest and deployment of app.config. I read multiple posts and blogs, tried multiple things and yet still app.config doesn't seem to be picked up during MSTest execution. Having a dll that contains all my unit tests built with msbuild, here is what I've tried... Attempt 1 Copied app.config to the same location with MyTests.dll as MyTests.dll.config (on one of the msdn forums it was said it'd be picked up automagically) Added [DeploymentItem("MyTests.dll.config")] attribute to each test Ran MSTest.exe /noisolation /testcontainer:d:\MyTestTests