{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/260","labels_url":"https://api.github.com/repos/dotnet/cli/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/260/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/260/events","html_url":"https://github.com/dotnet/cli/issues/260","id":117862568,"number":260,"title":"CLI repo cannot be build when offline","user":{"login":"gkhanna79","id":9451457,"avatar_url":"https://avatars.githubusercontent.com/u/9451457?v=3","gravatar_id":"","url":"https://api.github.com/users/gkhanna79","html_url":"https://github.com/gkhanna79","followers_url":"https://api.github.com/users/gkhanna79/followers","following_url":"https://api.github.com/users/gkhanna79/following{/other_user}","gists_url":"https://api.github.com/users/gkhanna79/gists{/gist_id}","starred_url":"https://api.github.com/users/gkhanna79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkhanna79/subscriptions","organizations_url":"https://api.github.com/users/gkhanna79/orgs","repos_url":"https://api.github.com/users/gkhanna79/repos","events_url":"https://api.github.com/users/gkhanna79/events{/privacy}","received_events_url":"https://api.github.com/users/gkhanna79/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/commands","name":"commands","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/6","html_url":"https://github.com/dotnet/cli/milestones/Jan-2016","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/6/labels","id":1411110,"number":6,"title":"Jan-2016","description":null,"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":1,"closed_issues":1,"state":"open","created_at":"2015-11-13T21:27:13Z","updated_at":"2015-11-19T17:20:21Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-11-19T17:20:12Z","updated_at":"2015-11-19T20:10:49Z","closed_at":null,"body":"Building CLI repo attempts to download the latest CLI dotnet tools - this operation will fail when the machine is offline. Is there a specific reason we always download the latest tools to build the repo? Why can we not use the tools downloaded by a previous build, or explicitly installed by the developer? "},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/158183549","html_url":"https://github.com/dotnet/cli/issues/260#issuecomment-158183549","issue_url":"https://api.github.com/repos/dotnet/cli/issues/260","id":158183549,"user":{"login":"Sridhar-MS","id":9423246,"avatar_url":"https://avatars.githubusercontent.com/u/9423246?v=3","gravatar_id":"","url":"https://api.github.com/users/Sridhar-MS","html_url":"https://github.com/Sridhar-MS","followers_url":"https://api.github.com/users/Sridhar-MS/followers","following_url":"https://api.github.com/users/Sridhar-MS/following{/other_user}","gists_url":"https://api.github.com/users/Sridhar-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Sridhar-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sridhar-MS/subscriptions","organizations_url":"https://api.github.com/users/Sridhar-MS/orgs","repos_url":"https://api.github.com/users/Sridhar-MS/repos","events_url":"https://api.github.com/users/Sridhar-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Sridhar-MS/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T20:10:49Z","updated_at":"2015-11-19T20:10:49Z","body":"Well, we do specify `no-cache` when restoring. https://github.com/dotnet/cli/blob/master/scripts/compile.ps1#L49\r\nhttps://github.com/dotnet/cli/blob/master/scripts/compile.sh#L54\r\n\r\nLet me try without the `no-cache` option.\r\n"}}