BayChaser1
New Member
I'm trying to write a few test for an aspx page that handles posted xml.
The project runs fine on the visual studio's web development server (WebDev.WebServer40) but when I try to run a basic (empty) test like the one bellow, the test run results show me this error:
\[code\]The host type 'ASP.NET' cannot be loaded for the following reason: The key 'ASP.NET' cannot be found.\[/code\]I've tried all I could think of, but no go.\[code\][TestMethod][HostType("ASP.NET")][AspNetDevelopmentServerHost("D:\\Documents\\Projects\\Web\\Osc.Framework\\", "/")][UrlToTest("http://localhost:24811/Default.aspx")]public void Page_LoadTest(){ Assert.Inconclusive("A method that does not return a value cannot be verified.");}\[/code\]Any ideas on how to get this to work?
The project runs fine on the visual studio's web development server (WebDev.WebServer40) but when I try to run a basic (empty) test like the one bellow, the test run results show me this error:
\[code\]The host type 'ASP.NET' cannot be loaded for the following reason: The key 'ASP.NET' cannot be found.\[/code\]I've tried all I could think of, but no go.\[code\][TestMethod][HostType("ASP.NET")][AspNetDevelopmentServerHost("D:\\Documents\\Projects\\Web\\Osc.Framework\\", "/")][UrlToTest("http://localhost:24811/Default.aspx")]public void Page_LoadTest(){ Assert.Inconclusive("A method that does not return a value cannot be verified.");}\[/code\]Any ideas on how to get this to work?