when I try to run a web application in visual studio 2017RC on windows 10, it opens a new browser instance(in my case chrome). I've tried also with internet explorer, situation is same, and browser not signed in, but if I just manually run chrome it is signed in.
How to prevent visual studio to run a new browser instance on each time I run web application? When I press run website it should be opened in same window as previous application(just next tab)
Visual-studio – Visual Studio Do not open new browser instance
asp.netvisual studiovisual-studio-2017
Related Topic
- Visual-studio – How to open links in Visual Studio in the web browser and not in Visual Studio
- Git – .gitignore for Visual Studio Projects and Solutions
- Visual-studio – Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio
- Visual-studio – How to auto format code in Visual Studio
- Asp.net-mvc – Visual Studio debugging/loading very slow
- Visual-studio – Unable to launch the IIS Express Web server
- Visual-studio – How to stop browser closing automatically when you stop debugging on VS 2017
Best Answer
I've discovered that Turning off Javascript debugging means that sites open in a new tab of an existing Chrome instance. From what I've seen the in Visual Studio debugging is not as good as Chrome's dev tools so turning this off is not an issue for me.
UPDATE
As of VS2017 15.7.1 (and still the case in VS2019 16.0.0 and VS2022 17.0.0 PREVIEW) this fix no longer works and I've found I've had to additionally uncheck
Stop debugger when browser window is closed