Error in Visual Studio 2015 When Add New WebForm

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

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

I tried to create new website project and I tried to reinstall VS 2015 but this did not help.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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

Method 2

A temporary solution:

Shut down Visual Studio and reinstall the following package from the DVD or ISO:

x:packagesJavaScript_LanguageServiceJavaScript_LanguageService.msi

A better solution, endorsed by Microsoft, has been posted.

Method 3

Remove the update received for visual studio TypeScript on 11/08/2015. it seems to be buggy. After removing TypeScript update, my VS is working fine 😉

and if you try to reinstall x:packagesJavaScript_LanguageServiceJavaScript_LanguageService.msi from the installation package, soon or later you will face one more problem that “Something went wrong.. may be because of a extension..”
Easiest way is to remove TypeScript update for now. TypeScript future update may fix the problem.

OR

  1. Run command prompt as administrator.
  2. CD C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE
  3. devenv /updateconfiguration
  4. devenv /clearcache


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x