c# - 添加新 WebForm 时 Visual Studio 2015 中的错误

标签 c# asp.net visual-studio-2015

当我向我的项目添加新的 WebForm 时,出现以下错误:

Could not load file or assembly 'Microsoft.VisualStudio.JSLS,Version=14.0.0.0 , Culture=neutral , PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.the system can not find the file specified.

Visual Studio 2015 Error

我尝试创建新的网站项目并尝试重新安装 VS 2015,但这没有帮助。

最佳答案

这是 Visual Studio 2015 的一个已知错误。officially-endorsed solution来自 Microsoft 的已发布在 MSDN 上:

If the “Tools for Universal Windows Apps Development” are still installed:

  1. Go to Programs and Features, select Visual Studio 2105, click Change.
  2. In Visual Studio setup, click Modify.
  3. Deselect the feature “Tools for Universal Windows App Development”
  4. Select “Tools for Universal Windows App Development” again, and click Update.

If you have already uninstalled the “Tools for Universal Windows Apps Development”:

  1. Reinstall “Tools for Universal Windows App Development”
  2. Or take the following steps to reinstall the JavaScript project system and language service:

    a. Download the installer for your edition of Visual Studio, e.g.,
    vs_community.exe.

    b. Open a CMD window, and run the following command: vs_community.exe /modify /installselectableitems JavaScript_Hidden
    /passive

关于c# - 添加新 WebForm 时 Visual Studio 2015 中的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31874643/

相关文章:

c# - 简单的复合控件 - 回发不起作用

c# - 仅包含我的日志的 Visual Studio 输出窗口

asp.net - 在 Windows 10 上的 IIS 上部署 MVC 6

c# - 从命令行运行单个* .cs脚本

c# - 努力(EF 单元测试)给出错误

c# - 以编程方式将 HttpRequestMessage 发送到 Web API 管道,无需托管

asp.net - ASP.NET AJAX CascadingDropDown 的 jQuery 更改值

ASP.NET VNext 类库 System.Runtime.Serialization

c# - 有没有办法在 Entity Framework 查询的 `Where` 部分进行转换?

C#、WCF、何时重用客户端代理