Build:No inputs were found in config file '/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["../wwwroot/app","node_modules/*"]'
解决方案,其实只要在 include目录中,任意新增一个ts文件即可通过编译。
tsconfig.json 如下:

{ "compilerOptions": { "noImplicitAny": false, "noEmitOnError": true, "removeComments": false, "sourceMap": true, "target": "es5" }, "include": [ "src/**/*" ], "exclude": [ "node_modules", "wwwroot" ] }