Test - DeploymentItem - outputDirectory will be ignored

心不动则不痛 提交于 2019-12-07 05:42:27

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/7791161/test-deploymentitem-outputdirectory-will-be-ignored

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!