Posted By

vriesdewie on 02/16/11


visualStudio TestProject

Versions (?)

Copy Content to Output Directory of Visual Studio Test Project

 / Published in: C#

When executing a test that requires a file to be present at a specific location, it is convenient to add this file to the Test project. Nevertheless, this file is not copied to the test output directory by default.

  1. Open the LocalTestRun.testrunconfig file by going to Test (menu item), then Edit Test Run Configurations. Go to second option Deployment and select the file(s) that must be copied to the output directory.

Report this snippet  

You need to login to post a comment.