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