Visual Studio 2015如何编辑vsmdi文件 [英] Visual studio 2015 how to edit vsmdi files

查看:126
本文介绍了Visual Studio 2015如何编辑vsmdi文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法获得Visual Studio 2015来保存对VSMDI文件所做的任何更改.我可以进行编辑,所做的更改将一直保存在Visual Studio中,直到我关闭并重新打开解决方案为止,但它们从未保存到磁盘上.

I can't get Visual Studio 2015 to save any changes made to VSMDI files. I can edit, and the changes will persist in visual studio until I close and reopen the solution, but they are never saved to disk.

据我所知,执行Web测试列表的唯一方法是通过vsmdi文件,或通过在mstest的testcontainer标记中指定每个单独的.webtest文件. MSTest构建配置中没有后者的选项,这听起来更糟 而不是使用vsmdi文件.

From what I can tell, the only way to execute a list of web tests is via a vsmdi file, or by specifying each individual .webtest file in a testcontainer tag on mstest. There's no option for the latter in the MSTest build configuration, and it sounds worse than using a vsmdi file.

我是否缺少某些东西,还是从vs2012开始对vsmdi文件的弃用最终导致vs2015的彻底损坏?我尝试加载旧的2013安装,但表现出相同的行为.我目前没有尝试安装vs2012, 尽管这可能会导致使用.net 4.6进行测试的其他问题.

Am I missing something, or has the deprecation of vsmdi files that started in vs2012 culminated in outright breakage in vs2015? I tried loading my old 2013 install, but it exhibited the same behavior. I don't currently have a vs2012 installation to try, though that may cause other issues with the tests using .net 4.6.

如何使用Visual Studio编辑此文件?

How can I edit this file with visual studio?

我拥有Visual Studio的终极版

I have the ultimate edition of visual studio

推荐答案

pmagr,

我可以使用VS2015在我的身边重现此问题,

I could repro this issue in my side using the VS2015,

据我所知,即使我们可以运行它,它也没有针对VS2012中的.VSMDI文件的测试列表功能.

As far as I know, it doesn't have the test list feature for the .VSMDI file from VS2012 even if we could run it.

https://msdn.microsoft.com/zh-我们/library/vstudio/hh507838(v=vs.110).aspx

一个新的工具叫做VS2012中的播放列表,您也可以在VS2015中使用该功能.

A new tool for it is called Playlists from VS2012, you could also use that feature in your VS2015.

最好的问候,

Jack


这篇关于Visual Studio 2015如何编辑vsmdi文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆