{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11055","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11055/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11055/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11055/events","html_url":"https://github.com/Microsoft/TypeScript/issues/11055","id":178540712,"number":11055,"title":"Exclude isn't working in TypeScript 2.0.2","user":{"login":"szykov","id":16446651,"avatar_url":"https://avatars.githubusercontent.com/u/16446651?v=3","gravatar_id":"","url":"https://api.github.com/users/szykov","html_url":"https://github.com/szykov","followers_url":"https://api.github.com/users/szykov/followers","following_url":"https://api.github.com/users/szykov/following{/other_user}","gists_url":"https://api.github.com/users/szykov/gists{/gist_id}","starred_url":"https://api.github.com/users/szykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szykov/subscriptions","organizations_url":"https://api.github.com/users/szykov/orgs","repos_url":"https://api.github.com/users/szykov/repos","events_url":"https://api.github.com/users/szykov/events{/privacy}","received_events_url":"https://api.github.com/users/szykov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Needs%20More%20Info","name":"Needs More Info","color":"556b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-09-22T07:27:29Z","updated_at":"2016-09-30T22:40:13Z","closed_at":null,"body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**  2.0.2\r\n\r\n**Code**\r\n\r\ntsconfig.json\r\n\r\n```\r\n{\r\n  \"compileOnSave\": true,\r\n  \"compilerOptions\": {\r\n    \"target\": \"es5\",\r\n    \"module\": \"amd\",\r\n    \"moduleResolution\": \"node\",\r\n    \"sourceMap\": true,\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"removeComments\": false,\r\n    \"noImplicitAny\": false,\r\n    \"outDir\": \"wwwroot/js\"\r\n  },\r\n  \"include\": [\r\n    \"./TypeScripts/**/*.ts\"\r\n  ],\r\n  \"exclude\": [\r\n    \"node_modules\",\r\n    \"Typings\",\r\n    \"wwwroot\"\r\n  ]\r\n}\r\n```\r\n\r\nIn VS 2015 update 3 with TypeScript 2.0.2 tooling installed i'm facing an issue. I can't exclude my node_modules folder. When i start build my project it raises errors inside *.d.ts files which needed to be excluded.\r\n\r\nIn VS 2015 only TypeScript 2.0.2 tooling installed. \r\nCommand 'tsc -v' shows version 2.0.2.\r\nCommand 'tsc --project tsconfig.json' don't show any output.\r\nCommand 'dotnet build', 'dotnet run' don't produce any issue.\r\n\r\nI'm having asp.net mvc core project with angular2.\r\nPlease help.\r\n\r\nFile structure:\r\n\r\n> wwwroot\\node_modules - NOT EXCLUDED\r\n> wwwroot\\Typings - OK\r\n> wwwroot\\TypeScripts - OK\r\n> ...\r\n> ...\r\n> Typings - OK\r\n> node_modules - OK\r\n> ...\r\n\r\n**Expected behavior:**\r\n\r\nAvoid and exclude wwwroot/node_modules ts files.\r\n\r\n**Actual behavior:** \r\n\r\nIt tries to check ts files in the folder wwwroot/node_modules.\r\n\r\n**Workaround:** \r\n\r\nThe workaround of this situation to remove wwwroot/node_modules folder. Start project in VS. Recreate wwwroot/node_modules folder with all files. Now everthing works even if rebuild project. \r\n\r\nBut if a restart VS then i will face the same behaviour."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/250868539","html_url":"https://github.com/Microsoft/TypeScript/issues/11055#issuecomment-250868539","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11055","id":250868539,"user":{"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},"created_at":"2016-09-30T22:40:13Z","updated_at":"2016-09-30T22:40:13Z","body":"@jsgoupil good to hear from you again, has been a while :). \r\n\r\nDo you have a project i can look at?"}}
{"actor":{"display_login":"mhegazy"}}