How can I disable __vwd/js/artery in VS.NET 2013?

2019-01-20 23:52发布

I've upgraded to VS.NET 2013, and now, every time I start to debug an ASP.NET MVC4 app in IIS, some how __vwd/js/artery is created, this script is interfering with my RequireJS setup and it crashes the jQuery reference.

Does anyone know how can i get rid of this script?

__vwd/js/artery

window.vwdTempJQuery = window.jQuery = window.$;
window.jQuery = window.$ = null;
window.vwdTempJSON = window.JSON;

*! jQuery v1.8.2 jquery.com | jquery.org/license */

.....

// Restore original jQuery references.
window.jQuery = window.$ = window.vwdTempJQuery;
window.vwdTempJQuery = null;
// Restore original JSON.
if (window.JSON !== window.vwdTempJSON)
    window.JSON = window.vwdTempJSON;

....

LE: It has been fixed in Visual Studio 2013 RTM

2条回答
贼婆χ
2楼-- · 2019-01-21 00:25

A friend of mine found it, it's Enable Browser Link enter image description here

查看更多
叛逆
3楼-- · 2019-01-21 00:28

I found that it was still running until I actually added a value for it in the Web.config appSettings to turn it off.

<add key="vs:EnableBrowserLink" value="false" />
查看更多
登录 后发表回答