Coroutines sample exception

Topics: Actions & Coroutines, Getting Started
May 16, 2011 at 10:18 AM


I am trying to run the Caliburm.Micro.Coroutines sample from VS.2010 but it fails :

+  e.Error {System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The URI prefix is not recognized.
   at System.Net.WebRequest.Create(Uri requestUri)
   at System.Net.WebClient.GetWebRequest(Uri address)
   at System.Net.WebClient.OpenReadAsync(Uri address, Object userToken)
   --- End of inner exception stack trace ---} System.Exception {System.Net.WebException}

I have found a video where mr. Eisenberg encounters the same problem when trying to demo this sample. Does anyone has a fix for this?


May 16, 2011 at 10:48 AM

Figured out how to get it working from VS2010:

- Set the "Host" project as startup project

- In its Properties -> Web, set the Start Action to "Specific Page" = Calliburn.Micro.CoroutinesTestPage.aspx.

- Close the Properties page, build and run.

If you had installed it locally, remove it and re-install it. Running outside of VS2010 then also works.