How to create the vsmdi/testrunconfig file when importing a Visual Studio test project?

痴心易碎 提交于 2019-12-04 18:15:32

问题


When I add an existing test project, my solution lacks the vsdmi and the testrunconfig files. How to create it?


回答1:


In Visual Studio 2010 just go to TestCreate New Test List...

It will automatically add the vsdmi file and put it into the correct location, no need to add a solution item manually.




回答2:


The solution to this is a little tricky. You have to add a "New Item" to your solution, not your test project. In the "Add New Item" dialog, you can pick the "Test Run Configuration" category and then create the configuration file manually. This will also generate a vsdmi file.

Hope this helps.



来源:https://stackoverflow.com/questions/1155743/how-to-create-the-vsmdi-testrunconfig-file-when-importing-a-visual-studio-test-p

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