Monday, August 1, 2016

Test Agent :Could not load file or assembly Microsoft.VisualStudio.QualityTools.CodedUITestFramework Part2

Hi everybody!
In this post I want continue describe issue, which was public in part one part one.
I see that this article has big interest. and I decide continue help fix this issue.
If you didn't read article, this is short context of this article.
During execution tests on test agent, you probably see error:

Unit Test Adapter threw exception: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
But first  article describe issue with TFS 2013(2015)+Build Controller 2013+Test Controller 2013+Test Agent 2013.

If your team still use Test Agent 2013, you probably see this issue with soft:
TFS 2015+Build Controller 2015+Test Controller 2013+Test Agent 2013.

If you did recommendation in first article but it still not work, you can try follow way:
-Try to install Visual studio (ideal Enterprise version) to build agent.
 When we install to this path C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\ Visual studio., some of subdirectory (don't remember the name) has required library.

After this we fix this error.

Or quick but bad way: change build controller to version 2013.
So this chain is working:
TFS 2015+Build Controller 2015+Test Controller 2013+Test Agent 2013.

Good luck to all.

No comments:

Post a Comment