问题
In Visual Studio 2010 when I create the default test project with the following bare bones code:
<TestClass()>
Public Class UnitTest1
<TestMethod()>
Public Sub TestMethod1()
Assert.AreEqual(1, 1)
End Sub
End Class
I get the following error:
Unit Test Adapter threw exception:
URI formats are not supported..
-- Exception doesn't have a stack trace --
回答1:
Open up
Local.testsettingsin your Solution Explorer > Solution Items
Go to Deployment and make sure
Enabled Deploymentis checked (it's unchecked by default)
来源:https://stackoverflow.com/questions/27509543/unit-test-adapter-threw-exception-uri-formats-are-not-supported

