浏览器链接 Visual Studio 2013 不起作用 [英] Browser Link Visual Studio 2013 not working

查看:38
本文介绍了浏览器链接 Visual Studio 2013 不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 VS 2013 的新手,最近了解了一项名为浏览器链接的功能.我认为这是微软提供的一个很棒的功能.

I am new to VS 2013 and recently got introduced to a feature called Browser Link. I think it's an awesome feature provided by microsoft.

我无法获得连接.按照我做的步骤

I am not able to get the connections. Following steps I did

  • 创建了一个新的 Empty MVC 项目
  • 创建控制器主页和操作索引
  • 创建了一个视图 Index.cshtml.
  • 解决方案处于调试模式.
  • 运行解决方案.

以下是项目的 web.config 设置

Following is the web.config settings for the project

<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application,     please visit
  http://go.microsoft.com/fwlink/?LinkId=301880
  -->
<configuration>
  <appSettings>
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.5.1" />
    <httpRuntime targetFramework="4.5.1" />
  </system.web>
</configuration>

我已经完成了 Microsoft 在其网站上解释的过程 http://go.microsoft.com/fwlink/?LinkId=313770.

I have gone through the process Microsoft Explained on it's site http://go.microsoft.com/fwlink/?LinkId=313770.

推荐答案

要注册页面检查器的运行时,请将以下行添加到您的 web.config.

To register the Page Inspector's Runtime add the following line to your web.config.

<system.web>
    <compilation debug="true" targetFramework="4.5.1">
      <assemblies>
         <add assembly="Microsoft.VisualStudio.Web.PageInspector.Loader,Version=1.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"/>

这篇关于浏览器链接 Visual Studio 2013 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆