25 July 2012

Run tests from networked location

I use Parallels on OSX to run Visual Studio inside a VM.

With a test project I had written, I was getting the following exception thrown

Unit Test Adapter threw exception: URI formats are not supported.. Which was highly annoying!

After some googling, I found the solution:

  • Double click on Local.testsettings which is under the Solution Items of Project 1
  • Test Settings window is displayed. Click on the Deployment link.
  • You will see a checkbox Enable Deployment. Select the checkbox and click Apply. 2
  • The Test Settings can also be found under TraceAndTestImpact.testsettings and just follow the same steps.

← Back