I have accidentally set a page as start page when debugging. Is there any solution to disable this function?
-
something has to be the "startup" page/app - just set a different page to start page or different app to the startup project.– D StanleyCommented Feb 10, 2014 at 13:56
-
You do not mean the 'start page' of visual studio after starting without a solution, do you?– ZoolWayCommented Feb 10, 2014 at 13:56
-
Have you had a look at the answers to this question: stackoverflow.com/questions/4159187/…– mfdoranCommented Feb 10, 2014 at 14:00
4 Answers
Yes, go to TOOLS->OPTIONS->ENVIRONMENT->STARTUP and there you have several options about what to do when starting VS
-
1
-
Visual Studio 2017 has only the one option in the dropdown list– Phil OCommented Mar 8, 2018 at 11:56
For Visual Studio 2017 Pro: Right-click your Project (directly below the Solution entry) in the Solution Explorer. Select Properties. Click the Web tab. Select the appropriate Start Action.
In solution explorer, right click on folder's path of your website (eg. D:...\My_website)and select property pages>start options> here you can set the specific page to start from
I know this is a little older but this pops up pretty high for removing the start page from the project on google so I'm going to answer it here now.
- Click on your application in the solution manager
- View -> Property Pages
- Select the 'Web' tab on the left
- Find 'Start Action' as a radio button with open input field.
What I would do is set the input field to be empty. That way when you click to debug (if you're on a web app), it will just default to localhost. Which I presume is what you want.