Disable Browser Link - which toolbar

Visual StudioBrowser Link

Visual Studio Problem Overview


I want to disable visual studios browser link. I found this question: https://stackoverflow.com/questions/17390158/how-can-i-disable-vwd-js-artery-in-vs-net-2013 and many other resources saying I should untick "Enable Browser Link" in the toolbar, but that toolbar doesn't show up in my visual studio. I've enabled all the debug toolbars but still no browser link button.

Visual Studio Solutions


Solution 1 - Visual Studio

http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

This should explain how to turn off browser link. You could do it via web.config:

<appSettings>
    <add key="vs:EnableBrowserLink" value="false"></add>
</appSettings>

or do it from the toolbar:

What Browser Link looks like in the Toolbar

If that button isn't available, go to VIEW > Toolbars > Standard and make sure it's checked. Keep in mind it's only available in VS2013 and later.

Solution 2 - Visual Studio

My refresh button was to the right in VS 2015 in case this helps anyone:

shows refresh button for enable browser link in vs 2015

Solution 3 - Visual Studio

Merely unchecking Enable Browser Link didn't do the trick for me in VS 2017.

I had to also uncheck Enable JavaScript debugging in ASP.NET in Tools > Options > Debugging as suggested here.

Update for 15.7.4: Not related to Browser Link specifically but I had to uncheck Stop debugger when browser window is closed in Tools > Options > Projects and Solutions > Web Projects to prevent new browser windows (not tabs) from being opened when starting a project with debugging.

Solution 4 - Visual Studio

Go to web.config and just type

<appSettings>
      <add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

Finished! Ez and simple!

Solution 5 - Visual Studio

It looks like it can be difficult to identify where Browser Link button is. Show Browser Link button in the toolbar:

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioniceburgView Question on Stackoverflow
Solution 1 - Visual StudioToastyMallowsView Answer on Stackoverflow
Solution 2 - Visual StudioNathan PratherView Answer on Stackoverflow
Solution 3 - Visual StudioGregView Answer on Stackoverflow
Solution 4 - Visual StudioPSoView Answer on Stackoverflow
Solution 5 - Visual StudioTonatioView Answer on Stackoverflow