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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With