I’m working on an application and I have created a number of unit tests for it. The project with the test class depends upon 3 third party DLLs. When I go to the bin\Debug folder for the test project, the Dlls are there. But when I run the test, the DLLs are not being copied into the TestResult\\Out folder.
There is also a log4net.config file from another project that I would like to have copied. This one is not showing up in the test project’s bin\Debug folder, so that’s another issue I have to fix.
How do I get these files to copy when I run the unit test?
Tony
We have a bin folder containing 3rd-party DLL’s that have to be part of builds. They are flagged with the ‘copy local’ attribute in the reference.
As for individual files, you can do the same – Set ‘Copy to output directory’ to true.