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.114.4
{"@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:c5ac6468-4378-9478-6ed2-2e9ce3dba6e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 990C:1F60EA:7D709D:B07FA6:6B044FD9 |
| html-safe-nonce | 10f5f6e00e630cc7889f6cbb7e840a77930380ec0cbe3147b85f46c3fd040d0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTBDOjFGNjBFQTo3RDcwOUQ6QjA3RkE2OjZCMDQ0RkQ5IiwidmlzaXRvcl9pZCI6IjM1Mjg1OTczMDM3MDk2ODM2NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c9dc6b3ce78b106828f76eed2167d9df3adb58924ca079093e7ba090d41114fb |
| 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 | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| 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