{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7767","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7767/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7767/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7767/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7767","id":145207288,"number":7767,"title":"Can't build from root directory where tsconfig.json exists","user":{"login":"volkanceylan","id":752470,"avatar_url":"https://avatars.githubusercontent.com/u/752470?v=3","gravatar_id":"","url":"https://api.github.com/users/volkanceylan","html_url":"https://github.com/volkanceylan","followers_url":"https://api.github.com/users/volkanceylan/followers","following_url":"https://api.github.com/users/volkanceylan/following{/other_user}","gists_url":"https://api.github.com/users/volkanceylan/gists{/gist_id}","starred_url":"https://api.github.com/users/volkanceylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volkanceylan/subscriptions","organizations_url":"https://api.github.com/users/volkanceylan/orgs","repos_url":"https://api.github.com/users/volkanceylan/repos","events_url":"https://api.github.com/users/volkanceylan/events{/privacy}","received_events_url":"https://api.github.com/users/volkanceylan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T15:15:05Z","updated_at":"2016-04-01T15:15:05Z","closed_at":null,"body":"<!--\r\nThank you for contributing to TypeScript! Please review this checklist\r\n       before submitting your issue.\r\n[ ] Many common issues and suggestions are addressed in the FAQ\r\n     https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n[ ] Search for duplicates before logging new issues\r\n    https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue\r\n[ ] Questions are best asked and answered at Stack Overflow\r\n    http://stackoverflow.com/questions/tagged/typescript\r\n\r\nFor bug reports, please include the information below.\r\n__________________________________________________________ -->\r\n\r\n**TypeScript Version:** \r\n\r\n1.8\r\n\r\n**Code**\r\n\r\nI have following tsconfig.json file in my project root directory (e.g. P:\\MyProjectRoot\\tsconfig.json):\r\n\r\n```json\r\n{\r\n    \"compileOnSave\": true,\r\n    \"compilerOptions\": {\r\n        \"preserveConstEnums\": true,\r\n        \"experimentalDecorators\": true,\r\n        \"declaration\": false,\r\n        \"emitBOM\": true,\r\n        \"sourceMap\": true,\r\n        \"outFile\": \"Scripts/site/Serene.Web.js\"\r\n    }\r\n}\r\n```\r\n\r\nI have my .ts files under some sub folders of ~/Scripts and ~/Modules directories.\r\n\r\nI'm running TypeScript compiler with the following command line:\r\n\r\n      P:\\MyProjectRoot>\"c:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.8\\tsc\"\r\n\r\n**Expected behavior:**\r\n\r\nI expect it to generate a output at P:\\MyProjectRoot\\scripts\\site\\Serene.Web.js\r\n\r\n**Actual behavior:** \r\n\r\ntsc just exists without generating a file or giving any error.\r\n\r\nIf i run same command line under P:\\MyProjectRoot\\scripts:\r\n\r\n      P:\\MyProjectRoot\\scripts>\"c:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.8\\tsc\"\r\n\r\nIt generates the expected output.\r\n\r\nAs a side note, tsc is not in path, not sure if it has any effects.\r\n\r\nAlso this root folder has a .csproj file with TypeScript configured. I tried to delete all files except tsconfig.json in root directory, but it had no effect.\r\n\r\nThere is no other tsconfig.json file in subdirectories or parent folders."}}