This is the only way I know: (I know it wont be a good method but it works)
If you want to test your project, you can disconnect your NetworkCable or disable the network card. Then you can successfully do the trick.
By the way, I did something different is to create the website on IIS directly in VS following the steps:
-
You should have an IIS.
-
Open VS and Click File->New->WebSite
-
Then, choose HTTP to be your location
-
enter http://localhost/MyWeb/ next to browse
-
Choose ASP.Net WebSite and then press OK
-
On the solution explorer, right click on the Solution'xxx'(1project)
add a existing Silverlight project or add a new Silverlight project
Link the Silverlight project onto the MyWeb
-
Try to press F5 on your project
Regards,
SteveWong (HongKong)
Please mark post as answer if they help you
The significant problems we face cannot be solved by the same level of thinking that created them