{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/3501","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/3501/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/3501/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/3501/events","html_url":"https://github.com/dotnet/cli/issues/3501","id":159713339,"number":3501,"title":"Running restore on global.json works but build does not","user":{"login":"sokket","id":1761798,"avatar_url":"https://avatars.githubusercontent.com/u/1761798?v=3","gravatar_id":"","url":"https://api.github.com/users/sokket","html_url":"https://github.com/sokket","followers_url":"https://api.github.com/users/sokket/followers","following_url":"https://api.github.com/users/sokket/following{/other_user}","gists_url":"https://api.github.com/users/sokket/gists{/gist_id}","starred_url":"https://api.github.com/users/sokket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokket/subscriptions","organizations_url":"https://api.github.com/users/sokket/orgs","repos_url":"https://api.github.com/users/sokket/repos","events_url":"https://api.github.com/users/sokket/events{/privacy}","received_events_url":"https://api.github.com/users/sokket/received_events","type":"User","site_admin":false},"labels":[{"id":411637266,"url":"https://api.github.com/repos/dotnet/cli/labels/msbuild-mitigated","name":"msbuild-mitigated","color":"4D7BA8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/5","html_url":"https://github.com/dotnet/cli/milestone/5","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/5/labels","id":1389772,"number":5,"title":"1.0.0-rtm","description":"2016 (https://github.com/aspnet/Home/wiki/Roadmap)","creator":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars.githubusercontent.com/u/8228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"open_issues":206,"closed_issues":347,"state":"open","created_at":"2015-11-02T19:50:04Z","updated_at":"2017-01-12T21:14:58Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-06-10T20:11:12Z","updated_at":"2017-01-12T21:41:39Z","closed_at":null,"body":"## Steps to reproduce\n\n1) Have multiple projects under a global.json\n2) Run restore, success!\n3) Run build\n## Expected  behavior\n\nSuccess!\n## Actual behavior\n\n[bb@bb-oraclelinux72 global]$ ../dotnet/dotnet build\nCouldn't find 'project.json' in current directory\n## Environment data\n\n`dotnet --info` output:\n\n[bb@bb-oraclelinux72 global]$ ../dotnet/dotnet --info\n.NET Command Line Tools (1.0.0-preview2-003024)\n\nProduct Information:\n Version:            1.0.0-preview2-003024\n Commit SHA-1 hash:  ef4a8e85ef\n\nRuntime Environment:\n OS Name:     ol\n OS Version:  7.2\n OS Platform: Linux\n RID:         ol.7.2-x64\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/272292705","html_url":"https://github.com/dotnet/cli/issues/3501#issuecomment-272292705","issue_url":"https://api.github.com/repos/dotnet/cli/issues/3501","id":272292705,"user":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T21:41:39Z","updated_at":"2017-01-12T21:41:39Z","body":"This issue is resolved with the new tooling using the SLN (solution files). You are able to do `dotnet build` in a folder with an SLN file and it will work. \r\n\r\nWith the latest Preview we've also created a way to add projects to an SLN file. "}}
{"actor":{"display_login":"blackdwarf"}}