Visual Studio 2013 Browser Link not playing well w

2019-07-17 06:10发布

问题:

Just now I tried Browser Link with Firefox 27.0.1 while debugging a simple ASP.NET MVC app.

I have Visual Studio Ultimate 2013 Update 1.

Here's Browser Link Dashboard:

I tried changing something in a razor view, pressed Ctrl+S and went to the browser to see if the page had changed accordingly but...

this is what i see in Firebug:

http://localhost:6194/85d266397ee64f32b2f4ffdedc974643/arterySignalR/negotiate?requestUrl=http%3A%2F%2Flocalhost%3A26530%2Fgis&browserName=Firefox&clientProtocol=1.3&_=1394212700505

[13:56:43 GMT-0300] Browser Link:
Exception thrown in callback method pullStyleData:
[Exception... "The operation is insecure."  code: "18" nsresult: "0x80530012
(SecurityError)"  location: "<unknown>"]

Then I saw this error:

401 Unauthorized 82ms   
browserLink (line 37)
"NetworkError: 404 Not Found - http://localhost:26530/85d266397ee64f32b2f4ffdedc974643/arterySignalR/ping?requestUrl=http%3A%2F%2Flocalhost%3A26530%2Fgis&browserName=Firefox&_=1394211620626"

I'm running Visual Studio as Administrator.

What's the deal and how can I solve this?

回答1:

Turns out it was bug in Visual Studio 2013 Update 1 as Mads Kristensen told me here.

So the solution is to go grab Visual Studio 2013 Update 2 CTP 2.