{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/Microsoft/msbuild/pulls/36","id":32002512,"html_url":"https://github.com/Microsoft/msbuild/pull/36","diff_url":"https://github.com/Microsoft/msbuild/pull/36.diff","patch_url":"https://github.com/Microsoft/msbuild/pull/36.patch","issue_url":"https://api.github.com/repos/Microsoft/msbuild/issues/36","number":36,"state":"open","locked":false,"title":"Fix Mono crash when getting the MSBuild version","user":{"login":"slluis","id":260349,"avatar_url":"https://avatars.githubusercontent.com/u/260349?v=3","gravatar_id":"","url":"https://api.github.com/users/slluis","html_url":"https://github.com/slluis","followers_url":"https://api.github.com/users/slluis/followers","following_url":"https://api.github.com/users/slluis/following{/other_user}","gists_url":"https://api.github.com/users/slluis/gists{/gist_id}","starred_url":"https://api.github.com/users/slluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slluis/subscriptions","organizations_url":"https://api.github.com/users/slluis/orgs","repos_url":"https://api.github.com/users/slluis/repos","events_url":"https://api.github.com/users/slluis/events{/privacy}","received_events_url":"https://api.github.com/users/slluis/received_events","type":"User","site_admin":false},"body":"The implementation of GetVersionInfo() in Mono doesn't set the ProductVersion property, so ProjectCollection.Version crashes when trying to construct the Version object from an empty string.\r\n\r\nAs a workaround, the Version object can be created using the individual components of the product version, which are properly filled by Mono. That's also more efficient that relying on string version parsing.","created_at":"2015-03-26T09:56:43Z","updated_at":"2015-03-26T09:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac465ead1ee33c2518e5b323c03ed52842d5e6ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/msbuild/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Microsoft/msbuild/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Microsoft/msbuild/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/msbuild/issues/36/comments","statuses_url":"https://api.github.com/repos/Microsoft/msbuild/statuses/e5a10813edf9f64c8fd7c3e7d1836d474272c46c","head":{"label":"slluis:fix-msbuild-get-version","ref":"fix-msbuild-get-version","sha":"e5a10813edf9f64c8fd7c3e7d1836d474272c46c","user":{"login":"slluis","id":260349,"avatar_url":"https://avatars.githubusercontent.com/u/260349?v=3","gravatar_id":"","url":"https://api.github.com/users/slluis","html_url":"https://github.com/slluis","followers_url":"https://api.github.com/users/slluis/followers","following_url":"https://api.github.com/users/slluis/following{/other_user}","gists_url":"https://api.github.com/users/slluis/gists{/gist_id}","starred_url":"https://api.github.com/users/slluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slluis/subscriptions","organizations_url":"https://api.github.com/users/slluis/orgs","repos_url":"https://api.github.com/users/slluis/repos","events_url":"https://api.github.com/users/slluis/events{/privacy}","received_events_url":"https://api.github.com/users/slluis/received_events","type":"User","site_admin":false},"repo":{"id":32884110,"name":"msbuild","full_name":"slluis/msbuild","owner":{"login":"slluis","id":260349,"avatar_url":"https://avatars.githubusercontent.com/u/260349?v=3","gravatar_id":"","url":"https://api.github.com/users/slluis","html_url":"https://github.com/slluis","followers_url":"https://api.github.com/users/slluis/followers","following_url":"https://api.github.com/users/slluis/following{/other_user}","gists_url":"https://api.github.com/users/slluis/gists{/gist_id}","starred_url":"https://api.github.com/users/slluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slluis/subscriptions","organizations_url":"https://api.github.com/users/slluis/orgs","repos_url":"https://api.github.com/users/slluis/repos","events_url":"https://api.github.com/users/slluis/events{/privacy}","received_events_url":"https://api.github.com/users/slluis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slluis/msbuild","description":"The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.","fork":true,"url":"https://api.github.com/repos/slluis/msbuild","forks_url":"https://api.github.com/repos/slluis/msbuild/forks","keys_url":"https://api.github.com/repos/slluis/msbuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slluis/msbuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slluis/msbuild/teams","hooks_url":"https://api.github.com/repos/slluis/msbuild/hooks","issue_events_url":"https://api.github.com/repos/slluis/msbuild/issues/events{/number}","events_url":"https://api.github.com/repos/slluis/msbuild/events","assignees_url":"https://api.github.com/repos/slluis/msbuild/assignees{/user}","branches_url":"https://api.github.com/repos/slluis/msbuild/branches{/branch}","tags_url":"https://api.github.com/repos/slluis/msbuild/tags","blobs_url":"https://api.github.com/repos/slluis/msbuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slluis/msbuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slluis/msbuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/slluis/msbuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slluis/msbuild/statuses/{sha}","languages_url":"https://api.github.com/repos/slluis/msbuild/languages","stargazers_url":"https://api.github.com/repos/slluis/msbuild/stargazers","contributors_url":"https://api.github.com/repos/slluis/msbuild/contributors","subscribers_url":"https://api.github.com/repos/slluis/msbuild/subscribers","subscription_url":"https://api.github.com/repos/slluis/msbuild/subscription","commits_url":"https://api.github.com/repos/slluis/msbuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/slluis/msbuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/slluis/msbuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/slluis/msbuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/slluis/msbuild/contents/{+path}","compare_url":"https://api.github.com/repos/slluis/msbuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slluis/msbuild/merges","archive_url":"https://api.github.com/repos/slluis/msbuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slluis/msbuild/downloads","issues_url":"https://api.github.com/repos/slluis/msbuild/issues{/number}","pulls_url":"https://api.github.com/repos/slluis/msbuild/pulls{/number}","milestones_url":"https://api.github.com/repos/slluis/msbuild/milestones{/number}","notifications_url":"https://api.github.com/repos/slluis/msbuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slluis/msbuild/labels{/name}","releases_url":"https://api.github.com/repos/slluis/msbuild/releases{/id}","created_at":"2015-03-25T18:46:46Z","updated_at":"2015-03-25T18:46:50Z","pushed_at":"2015-03-26T09:55:46Z","git_url":"git://github.com/slluis/msbuild.git","ssh_url":"git@github.com:slluis/msbuild.git","clone_url":"https://github.com/slluis/msbuild.git","svn_url":"https://github.com/slluis/msbuild","homepage":null,"size":3535,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:xplat","ref":"xplat","sha":"5063857bd05d080a0168f193ef7c19a1c1654960","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":32051890,"name":"msbuild","full_name":"Microsoft/msbuild","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/msbuild","description":"The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.","fork":false,"url":"https://api.github.com/repos/Microsoft/msbuild","forks_url":"https://api.github.com/repos/Microsoft/msbuild/forks","keys_url":"https://api.github.com/repos/Microsoft/msbuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/msbuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/msbuild/teams","hooks_url":"https://api.github.com/repos/Microsoft/msbuild/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/msbuild/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/msbuild/events","assignees_url":"https://api.github.com/repos/Microsoft/msbuild/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/msbuild/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/msbuild/tags","blobs_url":"https://api.github.com/repos/Microsoft/msbuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/msbuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/msbuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/msbuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/msbuild/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/msbuild/languages","stargazers_url":"https://api.github.com/repos/Microsoft/msbuild/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/msbuild/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/msbuild/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/msbuild/subscription","commits_url":"https://api.github.com/repos/Microsoft/msbuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/msbuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/msbuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/msbuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/msbuild/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/msbuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/msbuild/merges","archive_url":"https://api.github.com/repos/Microsoft/msbuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/msbuild/downloads","issues_url":"https://api.github.com/repos/Microsoft/msbuild/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/msbuild/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/msbuild/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/msbuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/msbuild/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/msbuild/releases{/id}","created_at":"2015-03-12T02:04:46Z","updated_at":"2015-03-26T09:51:58Z","pushed_at":"2015-03-26T09:56:43Z","git_url":"git://github.com/Microsoft/msbuild.git","ssh_url":"git@github.com:Microsoft/msbuild.git","clone_url":"https://github.com/Microsoft/msbuild.git","svn_url":"https://github.com/Microsoft/msbuild","homepage":null,"size":7979,"stargazers_count":1757,"watchers_count":1757,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":294,"mirror_url":null,"open_issues_count":15,"forks":294,"open_issues":15,"watchers":1757,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/msbuild/pulls/36"},"html":{"href":"https://github.com/Microsoft/msbuild/pull/36"},"issue":{"href":"https://api.github.com/repos/Microsoft/msbuild/issues/36"},"comments":{"href":"https://api.github.com/repos/Microsoft/msbuild/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/msbuild/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/msbuild/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/msbuild/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/msbuild/statuses/e5a10813edf9f64c8fd7c3e7d1836d474272c46c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}