-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Visual Studio ignores inlineSourceMaps / inlineSources option of tsconfig.json #6317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I know you're trying to use tsconfig.json, but just FYI - all of the options should be available in VS via MSBuild. https://github.com/Microsoft/TypeScript/wiki/Setting-Compiler-Options-in-MSBuild-projects |
Thanks Steve. Happy New Year! It's good that there is another way but in this particular case I have 2 TypeScript projects inside my ASP.Net project. One for tests and one for source and I use different compiler settings for each.. |
Is this resolved with 1.8 then? |
@johnnyreilly what do you mean resolved? as @nycdotnet mentioned all these properties are accessible using through MSBuild using the properties defined in https://github.com/Microsoft/TypeScript/wiki/Setting-Compiler-Options-in-MSBuild-projects, there is just no UI for it. |
@mhegazy is this resolved?:
|
does that answer your question? |
Hi @mhegazy, Sorry for the delay in responding.
I'm not quite sure if this means that I think my original question was not phrased as well as it might have been. Let me try again: I'm using Visual Studio 2015 with
If I invoke You can see the problem for yourself by taking a look at the PoorClaresArundel project in the following repo: https://github.com/johnnyreilly/poorclaresarundel If you clone this repo and go to the PoorClaresArundel folder on the command line you can invoke
This generates inline sourcemaps for every file - as expected. Now try in Visual Studio:
I could obviously work around this by just ignoring the VS tooling and invoking I hope that's clear - please say if not. |
I can see discussion here that might imply Not certain though. Support for multiple tsconfig.json files in ASP.NET v5 projects makes me wonder if ASP.Net pre v5 is not going to get this amend? Are ASP.Net v5 and ASP.Net pre v5 going to be treated differently in Visual Studio? That'd be a real shame. |
@johnnyreilly Current plan is to support all project types (at least the ones that ship in Visual Studio. Others will probably work, but if I don't know about it I can't test it ;) ) |
Great! Is this support due to land in VS 2015 with TypeScript 1.8? |
that is correct. |
Boom! Thanks @mhegazy |
Hi,
There's mention of this problem in: #4360
However the discussion moves off to cover debugging issues and I'm not clear whether the first issue is resolved. Is Visual Studio due to no longer ignore inlineSourceMaps / inlineSources option of
tsconfig.json
when TS 1.8 ships?The issue is still there with TS 1.7.
The text was updated successfully, but these errors were encountered: