Can I stop Visual Studio spawning a web browser when I start debugging?
Can I stop Visual Studio spawning a web browser when I start debugging in VS2010?
I have the site open already, so I don't need Visual Studio to spawn another window/tab/etc :\
I'd love to be able to turn this behaviour off. I've googled plenty, to no avail.
Thanks for reading.
Solution 1:
For Web Application Project:
Right click on the project file in question, and open 'Properties'. There, go to the 'Web' tab, and change the Start Action to 'Don't open a page. Wait for a request from an external application.' This will prevent it from spawning a page automatically, although you can still manually go to the page to debug it.
Solution 2:
For a "Web Site Project":
In VS2010, right click on the project node in the Solution Explorer then press Property Pages on the context menu. Alternatively, simply press Shift + F4 to open Property Pages. Then press Start Options on left menu and select the "Don't open a page..." radio button.