Hi I am using MS test for unit testing. I have some references in test project which are not refer directly. when ms test create test result folder it copies only dll which are used in test. If I initialize reference assembly in test initialize it work.
But is there any other way to copy all assemblies in test result folder or is there ant way to run test without even creating test result.
Thank you :)
In the TestSettings, add the required files to the Deployment Items. Also, check the properties on the reference and ensure it is set to 'Copy to output folder'.
The related question: How can I get "Copy to Output Directory" to work with Unit Tests? has the details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With