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?
Right click on the file in solution explorer & click on set as start page.