I'm encountering some strange behavior from Visual Studio 2010 when working with C++ unit tests. I have a test project in my solution, which references the necessary projects. This was working a few days ago, however this morning, I get the following error when I try and compile the test project:
Error loading C:\Users\champad\Documents\src\Debug\DefaultTest.dll: Could not load file or assembly 'DefaultTest.dll' or one of its dependencies. The specified module could not be found.
The Test Explorer is empty because of this (even though there are multiple tests).
When I go to the output directory, I can see that the DLL isn't there (however, a bunch of other files named DefaultTest are). I tried changing the file name, but that didn't correct the error.
What am I missing? I haven't done anything between Friday afternoon and Monday morning. I'm not sure why this is no longer building and finding all the unit tests.
Aucun commentaire:
Enregistrer un commentaire