title: Upgrade CodedUI tests to VS 2015
body: <p>I have updated from VS 2013 to VS 2015, TFS 2013 to TFS 2015 and .NET 4.5.2 to .NET 4.6.1.</p>
  <p>Now I have the problem that my coded UI tests are not running. Problem is that Microsoft does not support Test Agents and Test Controllers with TFS 2015. They recommend to use Agents for VS 2013 Update 5 when running coded UI tests with TFS 2015 (see e.g. <a href="https://docs.microsoft.com/en-us/archive/blogs/gopinath/test-agents-support-for-visual-studio-2015" rel="nofollow noreferrer" title="msdn blog">here</a> or <a href="https://docs.microsoft.com/en-us/visualstudio/test/lab-management/install-configure-test-agents" rel="nofollow noreferrer" title="msdn blog 2">here</a>).</p>
  <p>The error I get for each test is:</p>
  <blockquote>
  <p>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..</p>
  </blockquote>
  <p>The version that is available on the test agent is 12.0.0.0 (provided by Agents for VS 2013 Update 5).</p>
  <p>I have a build controller running VS 2015 which has the required assemblies during compiling. On my test agents these assemblies are not available because I cannot install Agents for VS 2015. Reason is that a side by side installation of Agents for VS 2013 and Agents for VS 2015 is not supported [I have tried this myself - it does not work].</p>
  <p><a href="https://docs.microsoft.com/en-us/archive/blogs/gopinath/test-agents-support-for-visual-studio-2015" rel="nofollow noreferrer" title="msdn blog">Here</a> it is recommended to extend the App.config. This approach did not work for me (whether with asm.v1 nor with asm.v2).</p>
  <p>In my *.csproj files all references are listed with specific version = false.</p>
  <p>I have also tried to copy the assemblies (copy local = true) and added them as deployment items but this is a never ending list of assemblies....</p>
  <p>Any ideas how I can solve this problem?</p>
  <p>Thank you</p>