How can I get "Copy to Output Directory" to work with Unit Tests?

Posted by spoon16 on Stack Overflow See other posts from Stack Overflow or by spoon16
Published on 2008-10-22T21:06:27Z Indexed on 2010/06/16 13:02 UTC
Read the original article Hit count: 282

When I build a unit test project before the tests are executed the test output is copied to a TestResults folder and then the tests are executed. The issue I'm having is that not all the files in the Debug/bin directory are copied to the TestResults project.

How can I get a file that is copied to the Debug/bin directory to also be copied to the TestResults folder?

EDIT: Here is a link to a similar question on another site (no answer there though), http://www.eggheadcafe.com/software/aspnet/29316967/files-and-unit-testing-wi.aspx

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET