VS2013, TFS 2012 AutomatedTest NUnit not working problems

烈酒焚心 提交于 2020-01-06 14:41:38

问题


I using VS2013. Test Framework is NUnit 2.6.4, NUnitTestAdapter is 1.2 Version. I local using ReSharper and all test successfully. But,this exception.

TF900546: An unexpected error occurred while running the RunTests activity: 'Could not load type 'Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestExecutorLauncher2' from assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.'.


回答1:


Visual studio 2013 dll's have version number 12.0 and you are loading Microsoft.VisualStudio.TestPlatform.ObjectModel version 11.0.0. This is the version that ships with VS2012. The 2013 version of this dll can be found in the folder C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow



来源:https://stackoverflow.com/questions/28000370/vs2013-tfs-2012-automatedtest-nunit-not-working-problems

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