3

My main project I'm working on for some odd reason opens up in the browser as a file:// now instead of from localhost:// like it used to. I am unaware of any settings I changed to make it do this, and the Visual Studio ASP.NET Development Server still launches when I debug. All of my other projects still load from the development server when they are run.

Why would this one project suddenly decide that it wants to run as a regular file instead of from the Development Server? How can I fix it so that it loads from localhost as it should once more?

Thanks,

-Sootah

4

1 回答 1

7

I ran into the same issue when my startup project in Visual Studio was the Silverlight project. Make sure to set the startup project in your solution to the web application/site project.

于 2011-02-01T01:50:36.783 回答