Reputation: 61
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'.'.
Upvotes: 0
Views: 459
Reputation: 431
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
Upvotes: 1