且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从TFS2012迁移到TFS2015后无法从MTM 2013运行测试

更新时间:2022-10-31 11:07:45

在将构建参数引用到12.0.0"后,问题得到解决>

Hi,

We are unable to run VS2012 premium developed tests on Agent 2013 machines. Earlier it was good, Two days back we migrated to TFS2015 and issue is started from there.  Earlier I used TFS2012, VS2012 and MTM2012 to run my tests, i dont have any issues by the time.  Today we started using MTM2013, VS2013 and TFS2015 and observed below error message.

Even i updated app.config file with assembly reference 11.0 to 12.0 but no use.

Error adding test case [8302] to test run: Unable to load the test container '.......\\Builds\InstallationTests\InstallationTests_20161020.5\muitest.dll' or one of its dependencies. Error details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Issue got solved after referring Build Arguments to 12.0