{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/5544","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/5544/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/5544/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/5544/events","html_url":"https://github.com/dotnet/corefx/pull/5544","id":127612820,"number":5544,"title":"Fix build on Windows 7","user":{"login":"ellismg","id":9602953,"avatar_url":"https://avatars.githubusercontent.com/u/9602953?v=3","gravatar_id":"","url":"https://api.github.com/users/ellismg","html_url":"https://github.com/ellismg","followers_url":"https://api.github.com/users/ellismg/followers","following_url":"https://api.github.com/users/ellismg/following{/other_user}","gists_url":"https://api.github.com/users/ellismg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellismg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellismg/subscriptions","organizations_url":"https://api.github.com/users/ellismg/orgs","repos_url":"https://api.github.com/users/ellismg/repos","events_url":"https://api.github.com/users/ellismg/events{/privacy}","received_events_url":"https://api.github.com/users/ellismg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/2%20-%20In%20Progress","name":"2 - In Progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T06:06:55Z","updated_at":"2016-01-20T06:45:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/5544","html_url":"https://github.com/dotnet/corefx/pull/5544","diff_url":"https://github.com/dotnet/corefx/pull/5544.diff","patch_url":"https://github.com/dotnet/corefx/pull/5544.patch"},"body":"There were two issues that we were hitting (with the first masking the\r\nsecond).\r\n\r\n1. We seem to hit https://github.com/dotnet/coreclr/issues/2153 most of\r\nthe time we tried to restore the tool-runtime (which manifested itself\r\nas a AV in CSC).  Until that issue is fixed, we can use the\r\nCOMPlus_ReadToRun environment variable to work around the issue.\r\n\r\n2. We changed the unzipping part of the powershell init script to use\r\nSystem.IO.Compression.FileSystem, but that did not work on Windows\r\n7 (Add-Type refuses to load the assembly within PowerShell). I added\r\nsome extra logic to fall back to the shell stuff when we can't load the\r\nmanaged libraries. This does mean we'll pop UI when restoring the tools\r\non Windows 7, but there's no real harm in doing so.\r\n\r\nFixes #5493"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/173110465","html_url":"https://github.com/dotnet/corefx/pull/5544#issuecomment-173110465","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/5544","id":173110465,"user":{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars.githubusercontent.com/u/9010698?v=3","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T06:45:20Z","updated_at":"2016-01-20T06:45:20Z","body":"It sucks the PS script is getting more complex. I was trying to keep it as minimal as possible. We could also potentially require Win7 users to install .NET 4.5 to get around this."}}