Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser link in Visual Studio 2015 - not functioning / no disable?

So from what I can tell Browserlink from 2013 has been moved up into 2015. However, there seem to be two issues that I can't find the solution to with it.

First, it seems that my browserlink is failing to make a connection. At first I noticed the errors in my firebug output shown below. Then I double checked and the "quick update" that you are supposed to be getting via SignalR, definitely isn't happening.

Browserlink in fire

Second, I really can't find where the option to disable the browserlink is located. If I can get it to work, I wouldn't mind trying it out. However, if it isn't going to work, I'd much rather just disable it and not worry about it for now.

Any help would be greatly appreciated. Note: I'm using Visual Studio 2015 Professional

like image 270
Chris_ Avatar asked Nov 19 '15 00:11

Chris_


People also ask

How do I disable BrowserLink?

Disabling Browser LinkIn the Browser Link dropdown menu, uncheck Enable Browser Link. In the Web. config file, add a key named "vs:EnableBrowserLink" with the value "false" in the appSettings section. In the Web.

What do you mean by browser link?

Browser Link is a Visual Studio feature. It creates a communication channel between the development environment and one or more web browsers. Use Browser Link to: Refresh your web app in several browsers at once. Test across multiple browsers with specific settings such as screen sizes.


1 Answers

I was experiencing an even stranger issue. For a view that renders a very large amount of data browserlink caused StackOverflowException in System.Runtime.Serialization.dll. I have managed to disable it by adding the following in my web.config as stated here:

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

After adding this setting browserlink was disabled for real and there was no more StackOverflowException. Here are the screenshots of what it looked like before disabling browserlink:

Exception in VS

Network log

I know this is only a half of the answer but it actually seems that browserlink does not work well yet in some scenarios and needs some fixing...

like image 196
0wl Avatar answered Nov 26 '22 08:11

0wl