VSTS: Failed to queue test run Error : Unable to find assembly Smartdevice

During my stint with Load Tests in Visual Studio Team System, I was able to successfully run my Load Test, but after i configured the Rig and edited the configuration file i started getting following error whenever i ran the test.

Failed to queue test run Unable to find assembly 'Microsoft.VisualStudio.SmartDevice.TestHostAdapter

After trying various things i finally found out it has to do with the Hosts entry in the configuration file. There exists an entry for Smart Device under Hosts section in the local configuration file.

To solve this issue follow the following steps:

  1. In Solution Explorer, under Solution Items, right-click the test run configuration file (file with extension .testrunconfig) and then click Open With.
  2. Choose a program to open the file, such as XML Editor, and then click OK.
  3. Remove or comment the following entry (marked in red) for Smart Device under Hosts section


<hosts>
<devicehostrunconfigdata name="Smart Device" deviceid="AE1FD546-ECB8-4553-B0AA-53E129544859" devicename="Pocket PC 2003 Device" platformid="3C41C503-53EF-4c2a-8DD4-A8217CAD115E" platformname="Pocket PC 2003" uiplatformid="00000000-0000-0000-0000-000000000000"></devicehostrunconfigdata>
</hosts>

No comments:

Followers

Powered by Blogger.