{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/3502","repository_url":"https://api.github.com/repos/dotnet/core-setup","labels_url":"https://api.github.com/repos/dotnet/core-setup/issues/3502/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/core-setup/issues/3502/comments","events_url":"https://api.github.com/repos/dotnet/core-setup/issues/3502/events","html_url":"https://github.com/dotnet/core-setup/issues/3502","id":280574668,"number":3502,"title":"dotnet --info","user":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars3.githubusercontent.com/u/8228359?v=4","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},"labels":[{"id":801029392,"url":"https://api.github.com/repos/dotnet/core-setup/labels/area-Host","name":"area-Host","color":"d4c5f9","default":false},{"id":379375062,"url":"https://api.github.com/repos/dotnet/core-setup/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":{"login":"steveharter","id":6986755,"avatar_url":"https://avatars0.githubusercontent.com/u/6986755?v=4","gravatar_id":"","url":"https://api.github.com/users/steveharter","html_url":"https://github.com/steveharter","followers_url":"https://api.github.com/users/steveharter/followers","following_url":"https://api.github.com/users/steveharter/following{/other_user}","gists_url":"https://api.github.com/users/steveharter/gists{/gist_id}","starred_url":"https://api.github.com/users/steveharter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveharter/subscriptions","organizations_url":"https://api.github.com/users/steveharter/orgs","repos_url":"https://api.github.com/users/steveharter/repos","events_url":"https://api.github.com/users/steveharter/events{/privacy}","received_events_url":"https://api.github.com/users/steveharter/received_events","type":"User","site_admin":false},"assignees":[{"login":"steveharter","id":6986755,"avatar_url":"https://avatars0.githubusercontent.com/u/6986755?v=4","gravatar_id":"","url":"https://api.github.com/users/steveharter","html_url":"https://github.com/steveharter","followers_url":"https://api.github.com/users/steveharter/followers","following_url":"https://api.github.com/users/steveharter/following{/other_user}","gists_url":"https://api.github.com/users/steveharter/gists{/gist_id}","starred_url":"https://api.github.com/users/steveharter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveharter/subscriptions","organizations_url":"https://api.github.com/users/steveharter/orgs","repos_url":"https://api.github.com/users/steveharter/repos","events_url":"https://api.github.com/users/steveharter/events{/privacy}","received_events_url":"https://api.github.com/users/steveharter/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/core-setup/milestones/6","html_url":"https://github.com/dotnet/core-setup/milestone/6","labels_url":"https://api.github.com/repos/dotnet/core-setup/milestones/6/labels","id":2457725,"number":6,"title":"2.1.0","description":".NET Core 2.1, next major release. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"gkhanna79","id":9451457,"avatar_url":"https://avatars1.githubusercontent.com/u/9451457?v=4","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},"open_issues":25,"closed_issues":78,"state":"open","created_at":"2017-04-14T17:46:30Z","updated_at":"2018-02-01T21:35:34Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2017-12-08T18:18:27Z","updated_at":"2018-02-03T00:21:59Z","closed_at":null,"author_association":"MEMBER","body":"## Steps to reproduce\r\ntype `dotnet --info` with no SDK installed.\r\n\r\n## Expected  behavior\r\nTo get the version information about the .NET Runtime\r\n\r\n## Actual behavior\r\nI get \r\n```\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.1.0-preview1-26001-02\r\n  Build    : ac9a99009bb94ab9a57501da549d3d0058ca9300\r\n```\r\nI'm not sure how this is useful. The version is good as long as the host and runtime are always in lockstep but I'm pretty sure people are looking for the runtime version here. Do we need a --version switch on the host?\r\n\r\n## Environment data"},"comment":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/comments/362749732","html_url":"https://github.com/dotnet/core-setup/issues/3502#issuecomment-362749732","issue_url":"https://api.github.com/repos/dotnet/core-setup/issues/3502","id":362749732,"user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T00:21:59Z","updated_at":"2018-02-03T00:21:59Z","author_association":"MEMBER","body":"There may be an implementation reason to choose JSON - the dotnet host already has the \"casablanca\" JSON library baked in.\r\n\r\nI have a slight preference for JSON. My primary use case for this would be in bash and powershell scripts.\r\nBash: there isn't a good XML parsing tool that we can install in our build scripts(AFAIK), but there's a really great one for json: [jq](https://stedolan.github.io/jq/). \r\nPowerShell: offers both XML and JSON parsing in-box."}}
{"actor":{"display_login":"natemcmaster"}}