Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test - DeploymentItem - outputDirectory will be ignored

I use

<Deployment>
   <DeploymentItem filename="TestProject1\Config\" outputDirectory="TestConfig" /><br>
</Deployment>

in the Local.testsettings to copy all files under TestProject1\Config\ to 'TestRoot'\TestConfig\, but it copies the files direct in the Test 'TestRoot' folder.

like image 1000
user805255 Avatar asked Oct 17 '11 08:10

user805255


1 Answers

I found out that it work after restarting Visual Studio. A rebuild of the solution or clicking the Refresh button in the TestListEditor will not include a change/setting of the outputDirectory attribute in of DeploymentItem....

like image 117
user805255 Avatar answered Sep 30 '22 12:09

user805255