{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/buildtools/issues/255","labels_url":"https://api.github.com/repos/dotnet/buildtools/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/buildtools/issues/255/comments","events_url":"https://api.github.com/repos/dotnet/buildtools/issues/255/events","html_url":"https://github.com/dotnet/buildtools/pull/255","id":104985579,"number":255,"title":"Fix PrereleaseResolveNuGetPackageAssets on Mono","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/buildtools/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-04T23:18:34Z","updated_at":"2015-09-08T21:01:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/buildtools/pulls/255","html_url":"https://github.com/dotnet/buildtools/pull/255","diff_url":"https://github.com/dotnet/buildtools/pull/255.diff","patch_url":"https://github.com/dotnet/buildtools/pull/255.patch"},"body":"When using the build tools on MSBuild running on Mono (which is what\r\ncorefx does in build.sh) we were running into a few exceptions due to\r\nsome differences in the two environments.\r\n\r\n - We end up using some MSBuild assemblies implemented by Mono which\r\n   seem to have slightly different semantics in when the Log property on\r\n   a task is actually set.  Unlike Microsoft's implementation, which\r\n   sets the property during construction of the Task object, Mono\r\n   appears to defer this work until the task is assigned a BuildEngine.\r\n   The fix is to just move our setup of the resource manager for the log\r\n   to before we execute the task.\r\n\r\n - The task in question wants to use some exports on mscoree to parse\r\n   CLR version information from metadata. This doesn't work on non\r\n   windows platforms. MSBuild already faced this problem internally and\r\n   wrote a light weight PE Reader to pull out the info, so we pick that\r\n   up and fall back to it when we can't find the entry point we want on\r\n   mscoree."},"comment":{"url":"https://api.github.com/repos/dotnet/buildtools/issues/comments/138698647","html_url":"https://github.com/dotnet/buildtools/pull/255#issuecomment-138698647","issue_url":"https://api.github.com/repos/dotnet/buildtools/issues/255","id":138698647,"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":"2015-09-08T21:01:45Z","updated_at":"2015-09-08T21:01:45Z","body":"Other than cleaning out the code that isn't needed any longer it looks good. "}}