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" ] }