简体   繁体   中英

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.

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....

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM