Visual Studio Test Project - Does not copy folder on deployment

前端 未结 4 1619
失恋的感觉
失恋的感觉 2021-01-08 01:27

Here is the problem:
1. Create a TestProject in your Visual Studio solution.
2. Open the .testrunconfig file and under the \'deployment\' menu item, select the \'Ena

4条回答
  •  情歌与酒
    2021-01-08 01:48

    I just had this problem too today. I solved it by adding a folder called "deployment_files" in the project that contained the required folder. Then I put the required folder into the "deployment_files" folder. THEN, I opened the LocalTestRun.testrunconfig file under the "Solution Items" folder in the Solution Explorer. Went to the "Deployment" panel in the testrunconfig property window. Added the "deployment_files" directory to the deployment and voila. The folder within that was copied to the test results Out folder.

提交回复
热议问题