{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/11031","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/11031/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/11031/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/11031/events","html_url":"https://github.com/dotnet/coreclr/pull/11031","id":222230833,"number":11031,"title":"Fix error caused by passing -TargetsWindows at end of Command Line","user":{"login":"wtgodbe","id":14283640,"avatar_url":"https://avatars0.githubusercontent.com/u/14283640?v=3","gravatar_id":"","url":"https://api.github.com/users/wtgodbe","html_url":"https://github.com/wtgodbe","followers_url":"https://api.github.com/users/wtgodbe/followers","following_url":"https://api.github.com/users/wtgodbe/following{/other_user}","gists_url":"https://api.github.com/users/wtgodbe/gists{/gist_id}","starred_url":"https://api.github.com/users/wtgodbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtgodbe/subscriptions","organizations_url":"https://api.github.com/users/wtgodbe/orgs","repos_url":"https://api.github.com/users/wtgodbe/repos","events_url":"https://api.github.com/users/wtgodbe/events{/privacy}","received_events_url":"https://api.github.com/users/wtgodbe/received_events","type":"User","site_admin":false},"labels":[{"id":197462704,"url":"https://api.github.com/repos/dotnet/coreclr/labels/cla-already-signed","name":"cla-already-signed","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-17T21:02:20Z","updated_at":"2017-04-17T21:35:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/11031","html_url":"https://github.com/dotnet/coreclr/pull/11031","diff_url":"https://github.com/dotnet/coreclr/pull/11031.diff","patch_url":"https://github.com/dotnet/coreclr/pull/11031.patch"},"body":"Resolves https://github.com/dotnet/coreclr/issues/10968. The problem was that I was passing \"-TargetsWindows=true/false\" after any unprocessed Build Arguments - but since the run tool interprets anything after the string \"--\" as arguments to pass directly to Msbuild, if any such arg was passed to build.cmd, then \"-TargetsWindows=true\" wouldn't get interpreted as an arg to the run tool, but rather as an arg to msbuild. The solution is to move \"UnprocessedBuildArgs\" to the very end of every invocation of msbuild-ing run.exe.\r\n\r\nCC @KarenHuang2016 @danmosemsft "},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/294600604","html_url":"https://github.com/dotnet/coreclr/pull/11031#issuecomment-294600604","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/11031","id":294600604,"user":{"login":"wtgodbe","id":14283640,"avatar_url":"https://avatars0.githubusercontent.com/u/14283640?v=3","gravatar_id":"","url":"https://api.github.com/users/wtgodbe","html_url":"https://github.com/wtgodbe","followers_url":"https://api.github.com/users/wtgodbe/followers","following_url":"https://api.github.com/users/wtgodbe/following{/other_user}","gists_url":"https://api.github.com/users/wtgodbe/gists{/gist_id}","starred_url":"https://api.github.com/users/wtgodbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtgodbe/subscriptions","organizations_url":"https://api.github.com/users/wtgodbe/orgs","repos_url":"https://api.github.com/users/wtgodbe/repos","events_url":"https://api.github.com/users/wtgodbe/events{/privacy}","received_events_url":"https://api.github.com/users/wtgodbe/received_events","type":"User","site_admin":false},"created_at":"2017-04-17T21:35:19Z","updated_at":"2017-04-17T21:35:19Z","body":"@dotnet-bot test this please"}}
{"actor":{"display_login":"wtgodbe"}}