Turning off “Language Service Disabled” error message in VS2017

后端 未结 9 1625
故里飘歌
故里飘歌 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:28

    I had the same problem after migrating Ionic 1 project from VS2015 to VS2017, first I executed git clean -fxd as sugested above and added this content into tsconfig.json in my ionic project.

    {
    "compilerOptions": {
        "noImplicitAny": false,
        "noEmitOnError": true,
        "removeComments": false,
        "sourceMap": true,
        "target": "es5"
    },
    "exclude": [
        "node_modules",
        "www",
        "bower_components"
        ]
    }
    

提交回复
热议问题