Error in Visual Studio 2015 When Add New WebForm

后端 未结 3 1510
终归单人心
终归单人心 2021-01-01 12:31

When I add new WebForm to my project, I get the following error:

Could not load file or assembly \'Microsoft.VisualStudio.JSLS,Vers

3条回答
  •  情深已故
    2021-01-01 13:05

    This is a known bug with Visual Studio 2015. The officially-endorsed solution from Microsoft has been posted on 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

提交回复
热议问题