Reputation: 10098
If I have a c# web application project, such as a MVC project, and I create/add a .HTML file, and I am editing the .HTML file, when I start the debugger it does not start normally, instead it starts with the .HTML file I am currently editing. I would prefer it start normally like a MVC project, using the default route.
Is this configurable? Can I tell VS that even if the current context is a .HTML page, that it should ignore that fact, and start as if there were no file currently in context?
Upvotes: 7
Views: 950
Reputation: 25370
right click on your Web Project:
Properties -> Web -> Start Action
You can set it to a specific page, rather than the (annoyingly) default Current Page.
Upvotes: 6