MSTest.exe(VS2012)崩溃QTAgent32.exe [英] MSTest.exe (VS2012) crashes QTAgent32.exe
问题描述
我试图通过CMDLINE来执行我们的测试。
我用VS2012,但我总是得到这个错误:
i am trying to execute our tests via cmdline. I use VS2012, but i always get this error:
当我直接在VS2010它们运行良好的同一台机器上运行测试。
我不能使用VS2010为CMDLINE因为我们有错误的许可证(装配发现不工作),所以我不得不使用2012年
的所有Windows更新都存在。
When i run the tests directly in VS2010 on the same machine they run fine. I can't use VS2010 for cmdline because we have the wrong license ( assembly finding doesn't work ) so i have to use 2012. All Windows updates are present.
有人偷过类似的问题,与MSTest的/ VS2012?
Has somebody had similar issues with MSTest/VS2012 ?
推荐答案
如果你想保持VS 2012更新2,3或4安装,你可以尝试以下解决方法:
If you want to keep VS 2012 update 2, 3, or 4 installed, you can try the below workaround:
运行在命令行下面的命令:
Run the below commands in the command line:
DEL /S %windir%\*Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.ni.dll*
DEL /S %windir%\*Microsoft.VisualStudio.QualityTools.ExecutionCommon.ni.dll*
这是一个的解决方法通过微软提供的家伙。
This is a workaround provided by Microsoft guys.
您需要再次运行这个批处理安装Visual Studio更新或有时甚至是Windows更新。
You need run this batch again after you install Visual Studio updates or sometime even Windows Updates.
这篇关于MSTest.exe(VS2012)崩溃QTAgent32.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!