我使用VS2013。测试框架是NUnit 2.6.4,NUnitTestAdapter是1.2版本。我在本地使用ReSharper并成功地进行了测试。但是这个例外。
'Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestExecutorLauncher2‘:运行RunTests活动时发生意外错误:“无法从程序集'Microsoft.VisualStudio.TestPlatform.ObjectModel,Version=11.0.0.0、Culture=neutral、PublicKeyToken=b03f5f7f7f11d50a3a加载类型RunTests’”。
发布于 2015-01-18 18:24:17
Visual 2013 dll的版本号为12.0,您正在加载Microsoft.VisualStudio.TestPlatform.ObjectModel版本11.0.0。这是VS2012附带的版本。此dll的2013年版本可在文件夹C:\Program (X86)\ 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow中找到
https://stackoverflow.com/questions/28000370
复制相似问题