导入Visual Studio测试项目时如何创建vsmdi/testrunco​​nfig文件?

发布于 2024-07-27 23:10:51 字数 63 浏览 3 评论 0原文

当我添加现有测试项目时,我的解决方案缺少 vsdmi 和 testrunco​​nfig 文件。 如何创建它?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

许你一世情深 2024-08-03 23:11:01

在 Visual Studio 2010 中,只需转到 测试创建新测试列表...

它会自动添加 vsdmi 文件并将其放入正确的位置位置,无需手动添加解决方案项。

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.

作妖 2024-08-03 23:10:59

这个问题的解决方案有点棘手。 您必须将“新项目”添加到您的解决方案中,而不是您的测试项目中。 在“添加新项目”对话框中,您可以选择“测试运行配置”类别,然后手动创建配置文件。 这还将生成一个 vsdmi 文件。

希望这可以帮助。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文