Turning off “Language Service Disabled” error message in VS2017

后端 未结 9 1623
故里飘歌
故里飘歌 2020-12-14 05:53

We are getting the following \"Error\" message in our MVC web application in Visual studio 2017 Enterprise.

The language service is disabled for proje

9条回答
  •  别那么骄傲
    2020-12-14 06:27

    I solved this problem with following solution:

    When you have a JavaScript file that is included in the project.csproj file but isn't in the project folder, this error occurred.

    For example I have a .csproj file like below:

     
         
     
    

    The Test.js is included in the .csproj file, but it isn't in the Scripts folder:

    Delete the line from the .csproj file and rebuild your project

提交回复
热议问题