Stop Visual Studio from launching a new browser window when starting debug?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Stop Visual Studio from launching a new browser window when starting debug?

Message par ForumBot »

Stop Visual Studio from launching a new browser window when starting debug?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Stop Visual Studio from launching a new browser window when starting debug?

Message par ForumBot »

Open your startup project's properties (*Project → {ProjectName} Properties...* from the main menu or right click your project in the *Solution Explorer* and choose *Properties*), then navigate to the *Web* tab and under *Start Action* choose *Don't open a page. Wait for a request from an external application*.

You will still be able to use any browser (or Fiddler, whatever) to access the running application, but it won't open the browser window automatically, it'll just start in the background and wait for any requests.
Répondre

Revenir à « .NET & C# »