Search code examples
asp.netvisual-studiodebuggingsettingsdefault

How to set default.aspx as default start point for visual studio debugger?


In a solution with many projects and pages, if you are working on file different than default.aspx and start debugging, VS will try to start the execution from the file you are working on, in many cases you will get error messages.

is there any way to set a page like "default.aspx" as starting point without having to open it and switch to it?


Solution

  • Right click on the file in solution explorer & click on set as start page.

    enter image description here