{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/64825442","id":64825442,"diff_hunk":"@@ -30,21 +30,40 @@ if (!fs.existsSync(mdtoolPath)) {\n     tl.exit(1);\n }\n \n-// Prepare build command line\n-var mdtoolRunner = new tl.ToolRunner(mdtoolPath);\n-mdtoolRunner.arg('--verbose');\n-mdtoolRunner.arg('build');\n-mdtoolRunner.arg('--configuration:' + configuration + '|' + device);\n-mdtoolRunner.arg(solutionPath);\n-\n-// Execute build\n-mdtoolRunner.exec()\n-.then(function (code) {\n-    // Executed successfully\n-    tl.exit(code);\n-})\n-.fail(function (err) {\n+// Find location of nuget\n+var nugetPath = tl.which('nuget');\n+if (!nugetPath) {\n+    tl.error('nuget was not found in the path.');","path":"Tasks/XamariniOS/xamariniOS.js","position":21,"original_position":21,"commit_id":"34d66001c4261b1835f65910a6fa33c1d42adc2d","original_commit_id":"34d66001c4261b1835f65910a6fa33c1d42adc2d","user":{"login":"jsauvexamarin","id":12718942,"avatar_url":"https://avatars.githubusercontent.com/u/12718942?v=3","gravatar_id":"","url":"https://api.github.com/users/jsauvexamarin","html_url":"https://github.com/jsauvexamarin","followers_url":"https://api.github.com/users/jsauvexamarin/followers","following_url":"https://api.github.com/users/jsauvexamarin/following{/other_user}","gists_url":"https://api.github.com/users/jsauvexamarin/gists{/gist_id}","starred_url":"https://api.github.com/users/jsauvexamarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsauvexamarin/subscriptions","organizations_url":"https://api.github.com/users/jsauvexamarin/orgs","repos_url":"https://api.github.com/users/jsauvexamarin/repos","events_url":"https://api.github.com/users/jsauvexamarin/events{/privacy}","received_events_url":"https://api.github.com/users/jsauvexamarin/received_events","type":"User","site_admin":false},"body":"@ericsciple: as a service.","created_at":"2016-05-26T21:37:51Z","updated_at":"2016-05-26T21:37:51Z","html_url":"https://github.com/Microsoft/vsts-tasks/pull/4#discussion_r64825442","pull_request_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/64825442"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/4#discussion_r64825442"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4","id":32704482,"html_url":"https://github.com/Microsoft/vsts-tasks/pull/4","diff_url":"https://github.com/Microsoft/vsts-tasks/pull/4.diff","patch_url":"https://github.com/Microsoft/vsts-tasks/pull/4.patch","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4","number":4,"state":"closed","locked":false,"title":"Xplat support for Xamarin Test Cloud (and other Xamarin improvements)","user":{"login":"DavidStaheli","id":1767415,"avatar_url":"https://avatars.githubusercontent.com/u/1767415?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidStaheli","html_url":"https://github.com/DavidStaheli","followers_url":"https://api.github.com/users/DavidStaheli/followers","following_url":"https://api.github.com/users/DavidStaheli/following{/other_user}","gists_url":"https://api.github.com/users/DavidStaheli/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidStaheli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidStaheli/subscriptions","organizations_url":"https://api.github.com/users/DavidStaheli/orgs","repos_url":"https://api.github.com/users/DavidStaheli/repos","events_url":"https://api.github.com/users/DavidStaheli/events{/privacy}","received_events_url":"https://api.github.com/users/DavidStaheli/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-06T19:43:05Z","updated_at":"2016-05-26T21:37:51Z","closed_at":"2015-04-07T17:46:13Z","merged_at":"2015-04-07T17:46:13Z","merge_commit_sha":"f71c72f6e6a2ac1574739ddf091ad617545ae445","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4/comments","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/34d66001c4261b1835f65910a6fa33c1d42adc2d","head":{"label":"Microsoft:users/davidstaheli/improveXamarinTasks","ref":"users/davidstaheli/improveXamarinTasks","sha":"34d66001c4261b1835f65910a6fa33c1d42adc2d","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":27631673,"name":"vsts-tasks","full_name":"Microsoft/vsts-tasks","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/vsts-tasks","description":"Build and Release Tasks for Visual Studio Online and Team Foundation Server","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-tasks","forks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-tasks/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-tasks/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-tasks/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-tasks/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/deployments","created_at":"2014-12-06T11:11:46Z","updated_at":"2016-05-26T17:49:45Z","pushed_at":"2016-05-26T17:18:06Z","git_url":"git://github.com/Microsoft/vsts-tasks.git","ssh_url":"git@github.com:Microsoft/vsts-tasks.git","clone_url":"https://github.com/Microsoft/vsts-tasks.git","svn_url":"https://github.com/Microsoft/vsts-tasks","homepage":" https://www.visualstudio.com/features/devops-vs","size":12958,"stargazers_count":323,"watchers_count":323,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":104,"forks":269,"open_issues":104,"watchers":323,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"e61f3e432fad77da810cfc6a496fe909e0cb0b42","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":27631673,"name":"vsts-tasks","full_name":"Microsoft/vsts-tasks","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/vsts-tasks","description":"Build and Release Tasks for Visual Studio Online and Team Foundation Server","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-tasks","forks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-tasks/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-tasks/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-tasks/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-tasks/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/deployments","created_at":"2014-12-06T11:11:46Z","updated_at":"2016-05-26T17:49:45Z","pushed_at":"2016-05-26T17:18:06Z","git_url":"git://github.com/Microsoft/vsts-tasks.git","ssh_url":"git@github.com:Microsoft/vsts-tasks.git","clone_url":"https://github.com/Microsoft/vsts-tasks.git","svn_url":"https://github.com/Microsoft/vsts-tasks","homepage":" https://www.visualstudio.com/features/devops-vs","size":12958,"stargazers_count":323,"watchers_count":323,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":104,"forks":269,"open_issues":104,"watchers":323,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/4"},"issue":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4"},"comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/34d66001c4261b1835f65910a6fa33c1d42adc2d"}}}}
{"actor":{"display_login":"jsauvexamarin"}}