{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7198","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7198/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7198/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7198/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7198","id":135729315,"number":7198,"title":"File paths in tsconfig exclude are not respected in NTVS build","user":{"login":"BigDataSamuli","id":7766749,"avatar_url":"https://avatars.githubusercontent.com/u/7766749?v=3","gravatar_id":"","url":"https://api.github.com/users/BigDataSamuli","html_url":"https://github.com/BigDataSamuli","followers_url":"https://api.github.com/users/BigDataSamuli/followers","following_url":"https://api.github.com/users/BigDataSamuli/following{/other_user}","gists_url":"https://api.github.com/users/BigDataSamuli/gists{/gist_id}","starred_url":"https://api.github.com/users/BigDataSamuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigDataSamuli/subscriptions","organizations_url":"https://api.github.com/users/BigDataSamuli/orgs","repos_url":"https://api.github.com/users/BigDataSamuli/repos","events_url":"https://api.github.com/users/BigDataSamuli/events{/privacy}","received_events_url":"https://api.github.com/users/BigDataSamuli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Fixed","name":"Fixed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"assignees":[{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/22","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%201.8.5","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/22/labels","id":1605989,"number":22,"title":"TypeScript 1.8.5","description":"","creator":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"closed","created_at":"2016-02-25T19:50:39Z","updated_at":"2016-03-24T16:13:36Z","due_on":null,"closed_at":"2016-03-02T17:53:51Z"},"comments":26,"created_at":"2016-02-23T12:54:42Z","updated_at":"2016-08-01T16:10:28Z","closed_at":"2016-02-23T22:40:59Z","body":"**TypeScript Version:** \r\n\r\n1.8.2\r\n\r\n**Code**\r\n\r\nfoo.ts\r\n```ts\r\nvar foo: number = \"s\";\r\n```\r\n\r\ntsconfig.json\r\n```json\r\n{\r\n    \"compilerOptions\": {\r\n        \"module\": \"commonjs\",\r\n        \"target\": \"es5\"\r\n    },\r\n    \"exclude\": [\r\n        \"foo.ts\"\r\n    ]\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nIn an NTVS typescript console application using the above tsconfig.json, and a file foo.ts containing an error, the build and run initiated by Visual Studio should succeed because the file containing the error is excluded.\r\n\r\n**Actual behavior:** \r\n\r\nThe build fails with an error in foo.ts. Compiling from command line, the build succeeds. Also, if foo.ts is put inside a folder, and the folder is listed in the exclude array, the VS build succeeds.\r\n\r\nThis is currently breaking projects using the typings tool, because it generates two sets of type definitions, and the other set cannot be excluded."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/236627433","html_url":"https://github.com/Microsoft/TypeScript/issues/7198#issuecomment-236627433","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7198","id":236627433,"user":{"login":"jamesond","id":7208708,"avatar_url":"https://avatars.githubusercontent.com/u/7208708?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesond","html_url":"https://github.com/jamesond","followers_url":"https://api.github.com/users/jamesond/followers","following_url":"https://api.github.com/users/jamesond/following{/other_user}","gists_url":"https://api.github.com/users/jamesond/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesond/subscriptions","organizations_url":"https://api.github.com/users/jamesond/orgs","repos_url":"https://api.github.com/users/jamesond/repos","events_url":"https://api.github.com/users/jamesond/events{/privacy}","received_events_url":"https://api.github.com/users/jamesond/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T16:10:28Z","updated_at":"2016-08-01T16:10:28Z","body":"Awesome thanks Mark! Any idea why VS wont' update to the latest automatically?"}}
{"actor":{"display_login":"jamesond"}}