Reputation: 2711
I use Chrome as my default browser in Visual Studio 2010.
Whenever I debug a web app if there are any existing instances of Chrome open then VS automatically creates a new tab on that instance.
Does anyone know if it is possible to force VS open completely new window instead?
Upvotes: 16
Views: 4906
Reputation: 18013
I know this is a bit of a late update, but I found a better way than with a registry hack.
When selecting browse with in visual studio you can set up a new shortcut to Chrome with arguments to open in a new window. (based on lysergic-acid's answer)
Upvotes: 15
Reputation: 20050
Not sure if this is the solution you're looking for, as it's pretty "violent".
Basically, the technique is to replace how the windows shell is opening a new http link in the browser.
Under the registry key: HKEY_CLASSES_ROOT\http\shell\open\command
You need to change the command that will look similar to this: "C:\Users\Lior\AppData\Local\Google\Chrome\Application\chrome.exe" -- "%1"
into this:
"C:\Users\Lior\AppData\Local\Google\Chrome\Application\chrome.exe" --new-window "%1"
Upvotes: 2