TypeScript Build tab in *.Web.Host project properties says "One for more tsconfig.json files detected. Project properties are disabled." There is only 1 tsconfig.json file at root level for this project. There are many tsconfig.json files in sub-folders for this project.
5 Answer(s)
-
0
- Open Solution Explorer
- Right click on the tsconfig.json file and choose 'Exclude From Project'.
- You might see the tsconfig.json disappear from the Solution Explorer. In that case choose 'Show All Files' option from the top of the Solution Explorer toolbar.
- Right click on the tsconfig.json and choose 'Include In Project'.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Excluding then Including tsconfig.json makes no difference. Properties are still disabled. TypeScript version: 2.6 Note: there are 15 tsconfig.json files in .Web.Host/node_modules/ and /e2e/ in addition to the project file in the src folder.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi Tim,
As far as I remember, there must be an property on the host project's csproj for disabling typescript build;
<TypeScriptCompileBlocked>True</TypeScriptCompileBlocked>Please add this if it doesn't exist in your Host project's csproj file.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
That is the solution. Thank you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
thanks for the feedback
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)