<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>satish@msft</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sathar/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sathar/feed.xml</link>
    <description>Bits and bytes</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:51:48 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Running Coded UI Tests built using Visual Studio 2013 with Team Foundation Server 2015</title>
      <link>https://docs.microsoft.com/archive/blogs/sathar/running-coded-ui-tests-built-using-visual-studio-2013-with-team-foundation-server-2015</link>
      <pubDate>Mon, 01 Aug 2016 00:00:56 GMT</pubDate>
      <dc:creator><![CDATA[Satish Thareja [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sathar/?p=26</guid>
      <description><![CDATA[Recently some users have reported issues while executing tests using TFS 2015 for the projects built...]]></description>
      <content:encoded><![CDATA[<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">Recently some users have reported issues while executing tests using TFS 2015 for the projects built with Visual Studio 2013. The test execution fails with this error message:</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif"> </span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif;color: red">2016-06-08T18:04:59.8268353Z ##[warning]DistributedTests: UnExpected error occured during test execution. Try again.</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif;color: red">2016-06-08T18:04:59.8268353Z ##[warning]DistributedTests: Error : MSTestAdapter failed to discover tests in class 'TestProject.CodedUITest1' of assembly 'C:\TestDrop\CUITProject.dll'. Reason Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif"> </span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">Test execution is failing in this scenario because test execution engine is not able to resolve version 12.0 binaries (Visual Studio 2013) while executing tests in a 14.0 environment (TFS 2015).</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif"> </span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">As a workaround to this issue, add an 'app.config' file to your solution (See how to add app.config </span><a href="https://msdn.microsoft.com/en-in/library/ms184658.aspx"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">https://msdn.microsoft.com/en-in/library/ms184658.aspx</span></a><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">) and update the contents of the file with the shared on <a href="https://1drv.ms/u/s!Aj_8waqf3hLypyNRKU6pXQ4HT1ns">OneDrive </a>. The updated configuration files contain assembly redirects from version 12.0 to 14.0, which will make sure that the test agent machine is able to resolve the framework assemblies.</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">Check-in the updated configuration file into the source control repository and run the BDT scenario once again. The tests should run fine this time.</span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif"> </span></p>
<p style="margin: 0in;margin-bottom: .0001pt"><span style="font-size: 11.0pt;font-family: 'Calibri',sans-serif">If the test execution again throws an error complaining version mismatch for some other assembly, add the assembly to the app.config file and retry.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Executing tests remotely using Visual Studio 2015 with Test Controller and Test Agent 2013 Update 5</title>
      <link>https://docs.microsoft.com/archive/blogs/sathar/executing-tests-remotely-using-visual-studio-2015-with-test-controller-and-test-agent-2013-update-5</link>
      <pubDate>Sun, 31 Jul 2016 23:43:51 GMT</pubDate>
      <dc:creator><![CDATA[Satish Thareja [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sathar/?p=25</guid>
      <description><![CDATA[Recently, some users have reported an issue while remotely executing tests from Visual Studio 2015...]]></description>
      <content:encoded><![CDATA[Recently, some users have reported an issue while remotely executing tests from Visual Studio 2015 Update 2 with Test Controller and Test Agent 2013 Update 5. The test execution is skipped, and an error message is given in the output window:

'<span style="color: #ff0000">Unable to cast transparent proxy to type 'Microsoft.VisualStudio.TestTools.Controller.IControllerExecution</span>'

Visual Studio 2015 fails to execute the tests remotely with Test Agent and Test Controller 2013 because it is not able to cast remote object due to different assembly versions of Visual Studio and Test Controller.  Users can perform the following steps on the machine with Visual Studio 2015 as a workaround to get unblocked:
<ol>
 	<li>Navigate to the directory path '%systemdrive%\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow'.</li>
 	<li>Make a backup of TE.ProcessHost.Managed.exe.config</li>
 	<li>Replace the original file with the file shared on <a href="https://1drv.ms/u/s!Aj_8waqf3hLypyWKdNSKcL0J8g9M">OneDrive</a>.</li>
 	<li>Restart Visual Studio 2015</li>
</ol>
**Note: For a x64 project, update TE.ProcessHost.Managed.exe.config present in '<span>%systemdrive%</span>\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\x64' directory.

After completing the above steps, remote test execution using Visual Studio 2015 with Test Controller and Test Agent 2013 should run fine.

This issue is fixed in Visual Studio 2015 Update 3.]]></content:encoded>
    </item>
    <item>
      <title>Hello world!</title>
      <link>https://docs.microsoft.com/archive/blogs/sathar/hello-world</link>
      <pubDate>Fri, 22 Jul 2016 06:21:58 GMT</pubDate>
      <dc:creator><![CDATA[Varsha G]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sathar/?p=1</guid>
      <description><![CDATA[Welcome to Developer Network. This is your first post. Edit or delete it, then start blogging!]]></description>
      <content:encoded><![CDATA[Welcome to <a href="https://blogs.msdn.microsoft.com/">Developer Network</a>. This is your first post. Edit or delete it, then start blogging!]]></content:encoded>
    </item>
  </channel>
</rss>