{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/1785","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/1785/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/1785/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/1785/events","html_url":"https://github.com/aspnet/dnx/issues/1785","id":73399903,"number":1785,"title":"dnu restore on core clr using linux fails on getting the console color","user":{"login":"vlesierse","id":270232,"avatar_url":"https://avatars.githubusercontent.com/u/270232?v=3","gravatar_id":"","url":"https://api.github.com/users/vlesierse","html_url":"https://github.com/vlesierse","followers_url":"https://api.github.com/users/vlesierse/followers","following_url":"https://api.github.com/users/vlesierse/following{/other_user}","gists_url":"https://api.github.com/users/vlesierse/gists{/gist_id}","starred_url":"https://api.github.com/users/vlesierse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlesierse/subscriptions","organizations_url":"https://api.github.com/users/vlesierse/orgs","repos_url":"https://api.github.com/users/vlesierse/repos","events_url":"https://api.github.com/users/vlesierse/events{/privacy}","received_events_url":"https://api.github.com/users/vlesierse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T18:56:58Z","updated_at":"2015-10-16T18:05:35Z","closed_at":"2015-05-05T19:45:51Z","body":"While adjusting the CI tests for the Docker image I encountered a problem with `dnu restore` on the Core CLR version of dnx using Linux.\r\n\r\nSee PR: https://github.com/aspnet/aspnet-docker/pull/57\r\n\r\n```\r\nSystem.TypeInitializationException: The type initializer for 'Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole' threw an exception. ---> System.PlatformNotSupportedException: This platform does not support getting the current color.\r\n   at System.ConsolePal.get_ForegroundColor()\r\n   at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..ctor(TextWriter writer)\r\n   at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Framework.PackageManager.Program.CreateReports(Boolean verbose, Boolean quiet)\r\n   at Microsoft.Framework.PackageManager.Program.<>c__DisplayClass3_1.<<Main>b__2>d.MoveNext()\r\nSystem.PlatformNotSupportedException: This platform does not support getting the current color.\r\n   at System.ConsolePal.get_ForegroundColor()\r\n   at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..ctor(TextWriter writer)\r\n   at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..cctor()\r\nlxc-start: The container failed to start.\r\nlxc-start: Additional information can be obtained by setting the --logfile and --logpriority options.\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/148787606","html_url":"https://github.com/aspnet/dnx/issues/1785#issuecomment-148787606","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/1785","id":148787606,"user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars.githubusercontent.com/u/2696087?v=3","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":"2015-10-16T18:05:35Z","updated_at":"2015-10-16T18:05:35Z","body":"Why not just die gracefully here? "}}