Title: Is there a reference implementation of tsconfig.json being used in Visual Studio? · Issue #6504 · microsoft/TypeScript · GitHub
Open Graph Title: Is there a reference implementation of tsconfig.json being used in Visual Studio? · Issue #6504 · microsoft/TypeScript
X Title: Is there a reference implementation of tsconfig.json being used in Visual Studio? · Issue #6504 · microsoft/TypeScript
Description: This is probably related to #6317 but not exactly the same. Having not used Visual Studio for a while I've just come back to it and been trying to use tsconfig.json in a standard ASP.Net MVC 5 project. For reasons that aren't clear to me...
Open Graph Description: This is probably related to #6317 but not exactly the same. Having not used Visual Studio for a while I've just come back to it and been trying to use tsconfig.json in a standard ASP.Net MVC 5 proj...
X Description: This is probably related to #6317 but not exactly the same. Having not used Visual Studio for a while I've just come back to it and been trying to use tsconfig.json in a standard ASP.Net MVC 5 ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6504
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is there a reference implementation of tsconfig.json being used in Visual Studio?","articleBody":"This is probably related to https://github.com/Microsoft/TypeScript/issues/6317 but not exactly the same.\n\nHaving not used Visual Studio for a while I've just come back to it and been trying to use `tsconfig.json` in a standard ASP.Net MVC 5 project. For reasons that aren't clear to me the `tsconfig.json` doesn't appear to be being detected by Visual Studio in the way I would hope. There doesn't appear to be a reference implementation that I can refer to of how `tsconfig.json` should look in a Visual Studio project. Here's my assumptions / experiences:\n- `tsconfig.json` is included with a _Build Action_ of \"Content\" and a _Copy to Output Directory_ of \"Do not copy\"\n- `tsconfig.json` can sit in the root of the Visual Studio project (alongside `package.json` etc)\n- you can't stop Visual Studio forcing these options upon your `csproj`:\n\n```\n \u003cPropertyGroup Condition=\"'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'\">\n \u003cTypeScriptTarget>ES5\u003c/TypeScriptTarget>\n \u003cTypeScriptJSXEmit>None\u003c/TypeScriptJSXEmit>\n \u003cTypeScriptCompileOnSaveEnabled>False\u003c/TypeScriptCompileOnSaveEnabled>\n \u003cTypeScriptNoImplicitAny>False\u003c/TypeScriptNoImplicitAny>\n \u003cTypeScriptModuleKind>None\u003c/TypeScriptModuleKind>\n \u003cTypeScriptRemoveComments>False\u003c/TypeScriptRemoveComments>\n \u003cTypeScriptOutFile />\n \u003cTypeScriptOutDir />\n \u003cTypeScriptGeneratesDeclarations>False\u003c/TypeScriptGeneratesDeclarations>\n \u003cTypeScriptNoEmitOnError>True\u003c/TypeScriptNoEmitOnError>\n \u003cTypeScriptSourceMap>False\u003c/TypeScriptSourceMap>\n \u003cTypeScriptMapRoot />\n \u003cTypeScriptSourceRoot />\n \u003c/PropertyGroup>\n```\n\nIt's non-negotiable; you take them out it'll put them right back in next time you edit your project properties in VS.\n\nI've kind of given up on `tsconfig.json` in Visual Studio now as I think I'm somehow missing the point. It would be great if there was an example implementation to refer back to. I notice that there doesn't seem to be a File -> New Project experience for `tsconfig.json` which is a shame. \n","author":{"url":"https://github.com/johnnyreilly","@type":"Person","name":"johnnyreilly"},"datePublished":"2016-01-15T15:50:04Z","url":"https://github.com/microsoft/TypeScript/issues/6504"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34fde279-4c56-edfc-5cd7-7c70bd844218 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F5C:1F57:240F3F:337788:6B04521E |
| html-safe-nonce | 30954e2bf01eb7307368aa3b118a4b8e67118f9781159230f94ca82ef9da8890 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjVDOjFGNTc6MjQwRjNGOjMzNzc4ODo2QjA0NTIxRSIsInZpc2l0b3JfaWQiOiI0NjQzNzU5NjIwNTEzNjE2NDE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 52a95dedf1546eb68fc69fed8c374c78aca074a33f88f7dc36b3216be6780f19 |
| hovercard-subject-tag | issue:126898974 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/6504/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a715d51b22dc846b4ea2da04518e5bebfe0f458c2390c9832001fca8e69c184/microsoft/TypeScript/issues/6504 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a715d51b22dc846b4ea2da04518e5bebfe0f458c2390c9832001fca8e69c184/microsoft/TypeScript/issues/6504 |
| og:image:alt | This is probably related to #6317 but not exactly the same. Having not used Visual Studio for a while I've just come back to it and been trying to use tsconfig.json in a standard ASP.Net MVC 5 proj... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnnyreilly |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width