简体   繁体   中英

BrowserLink in Visual Studio 2013

Visual Studio 2013 introduced a new feature called BrowserLink .

I created a sample new ASP.NET MVC project in VS 2013 and was able to use the BrowserLink feature, which worked as expected.

连接链接已创建

创建动态脚本

So I wanted to replicate the same in my existing project using Visual Studio Premium 2013. But it won't work as expected. The number of connections is zero. I've cross verified with this link but it still won't work.

未创建连接链接在此处输入图片说明

A few things to note:

  • Refresh Linked Browser ( Ctr + Alt + Enter ) always disabled
  • No Connections in Browser Link Dashboard
  • Run application and view Source on any page , Visual studio not creating

      { "appName":"Interne Explorer","requestId":"ecd0d25f2912471a8489c3faffe20e93" } 

which in turn feels it's not able to create browserlink dynamic script.

Well i am not sure what type of project it is not working in as you do not specify. However you can tweek browserlink in your webconfig file

<configuration>
   <system.webServer>
    <handlers>
     <add name="Browser Link for HTML" path="*.html" verb="*"
       type="System.Web.StaticFileHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
       resourceType="File" preCondition="integratedMode" />
   </handlers>
 </system.webServer>
</configuration>

So whatever your ending paths are. html aspx just change in the path=

If this does not work . Make sure you have the correct build . There are a different versions for different visual studio builds. So vs2013 update 2 has a different install to vs2013

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM