码迷,mamicode.com
首页 > 其他好文 > 详细

如何禁用Visual Studio 2013的Browser Link功能

时间:2014-12-02 14:47:53      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   color   os   sp   java   

VS2013新增的Browser Link功能虽然“强大”,但我并不需要。

但默认是开启的,会在页面中自动添加如下的代码,真是烦人!

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
    {"appName":"Firefox","requestId":"861592d477c64fd590b602a9f006c074"}
</script>
<script type="text/javascript" src="http://localhost:2968/f26bea4f8e6a45868431324e7994cd75/browserLink" async="async"></script>
<!-- End Browser Link -->

 

如何干掉Browser Link功能?还我干净的页面代码。

 

. How do I turn off Browser Link?

You can uncheck “Enable Browser Link” and it will be turned off “ Browser Link” for all future requests made.

bubuko.com,布布扣

You can also use the following appsettings in your web.config file.

1. Set appSetting “vs:EnableBrowserLink” to “false ““. This will  disable Browser Link.

bubuko.com,布布扣

2. Set debug= false in web.config file. This will  also disable Browser Link. Note that debug= true is required for Browser Link feature to work.

如何禁用Visual Studio 2013的Browser Link功能

标签:style   blog   http   io   ar   color   os   sp   java   

原文地址:http://www.cnblogs.com/tianmahygj/p/4137319.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!