{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/183","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/183/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/183/events","html_url":"https://github.com/aspnet/IISIntegration/issues/183","id":155732614,"number":183,"title":"publish-iis fails on x86 - Could not load type 'System.ConsoleColor'","user":{"login":"Morcatko","id":13450210,"avatar_url":"https://avatars.githubusercontent.com/u/13450210?v=3","gravatar_id":"","url":"https://api.github.com/users/Morcatko","html_url":"https://github.com/Morcatko","followers_url":"https://api.github.com/users/Morcatko/followers","following_url":"https://api.github.com/users/Morcatko/following{/other_user}","gists_url":"https://api.github.com/users/Morcatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Morcatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morcatko/subscriptions","organizations_url":"https://api.github.com/users/Morcatko/orgs","repos_url":"https://api.github.com/users/Morcatko/repos","events_url":"https://api.github.com/users/Morcatko/events{/privacy}","received_events_url":"https://api.github.com/users/Morcatko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-19T13:09:42Z","updated_at":"2016-05-19T20:19:01Z","closed_at":"2016-05-19T18:38:59Z","body":"`dotnet publish-iis` fails on x86 with\r\n```\r\nUnhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.Extensions.Cli.Utils.Reporter' threw an exception. ---> System.TypeLoadException: Could not load type 'System.ConsoleColor' from assembly 'System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.\r\n   at Microsoft.Extensions.Cli.Utils.Reporter..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Extensions.Cli.Utils.Reporter.get_Error()\r\n   at Microsoft.AspNetCore.Server.IISIntegration.Tools.Program.Main(String[] args)\r\n```\r\n\r\nI reproduced it on two machines with Windows X x86 (x64 works fine)\r\n\r\nSTR:\r\n- dotnet new\r\n- edit project.json. Add\r\n```\r\n\"tools\": {\r\n    \"Microsoft.AspNetCore.Server.IISIntegration.Tools\": {\r\n      \"version\": \"1.0.0-preview1-*\",\r\n      \"imports\": \"net46\"\r\n    }\r\n  }\r\n```\r\n- dotnet restore\r\n- dotnet publish-iis\r\n\r\nI am using default nuget, so the versions of everything are RC2/Preview1\r\nx64 works fine"},"comment":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/comments/220440138","html_url":"https://github.com/aspnet/IISIntegration/issues/183#issuecomment-220440138","issue_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/183","id":220440138,"user":{"login":"Morcatko","id":13450210,"avatar_url":"https://avatars.githubusercontent.com/u/13450210?v=3","gravatar_id":"","url":"https://api.github.com/users/Morcatko","html_url":"https://github.com/Morcatko","followers_url":"https://api.github.com/users/Morcatko/followers","following_url":"https://api.github.com/users/Morcatko/following{/other_user}","gists_url":"https://api.github.com/users/Morcatko/gists{/gist_id}","starred_url":"https://api.github.com/users/Morcatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morcatko/subscriptions","organizations_url":"https://api.github.com/users/Morcatko/orgs","repos_url":"https://api.github.com/users/Morcatko/repos","events_url":"https://api.github.com/users/Morcatko/events{/privacy}","received_events_url":"https://api.github.com/users/Morcatko/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T20:19:01Z","updated_at":"2016-05-19T20:19:01Z","body":"Thanks, It works now."}}