{"action":"created","issue":{"url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/16","labels_url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/16/comments","events_url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/16/events","html_url":"https://github.com/hoffi/gulp-msbuild/issues/16","id":74517946,"number":16,"title":"XBuild error","user":{"login":"gregbty","id":680484,"avatar_url":"https://avatars.githubusercontent.com/u/680484?v=3","gravatar_id":"","url":"https://api.github.com/users/gregbty","html_url":"https://github.com/gregbty","followers_url":"https://api.github.com/users/gregbty/followers","following_url":"https://api.github.com/users/gregbty/following{/other_user}","gists_url":"https://api.github.com/users/gregbty/gists{/gist_id}","starred_url":"https://api.github.com/users/gregbty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregbty/subscriptions","organizations_url":"https://api.github.com/users/gregbty/orgs","repos_url":"https://api.github.com/users/gregbty/repos","events_url":"https://api.github.com/users/gregbty/events{/privacy}","received_events_url":"https://api.github.com/users/gregbty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-08T22:32:47Z","updated_at":"2015-05-12T12:39:07Z","closed_at":null,"body":"Using the code below, I receive the following error: \r\n\r\n```error\r\n{ [Error: Command failed: /bin/sh: Build: command not found ] killed: false, code: 127, signal: null }\r\n```\r\n\r\n```javascript\r\n  return gulp.src(projects) //variable that points to solution/projects\r\n    .pipe(msbuild({\r\n      configuration: configuration, //variable that points to either Debug or Release\r\n      targets: [\"Clean\", \"Build\"],\r\n      errorOnFail: true,\r\n      stdout: true\r\n    }));\r\n```\r\n\r\nI only see this error on my Mac. I do not have this issue on Windows. Any idea what's the issue?"},"comment":{"url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/comments/101260641","html_url":"https://github.com/hoffi/gulp-msbuild/issues/16#issuecomment-101260641","issue_url":"https://api.github.com/repos/hoffi/gulp-msbuild/issues/16","id":101260641,"user":{"login":"hoffi","id":260453,"avatar_url":"https://avatars.githubusercontent.com/u/260453?v=3","gravatar_id":"","url":"https://api.github.com/users/hoffi","html_url":"https://github.com/hoffi","followers_url":"https://api.github.com/users/hoffi/followers","following_url":"https://api.github.com/users/hoffi/following{/other_user}","gists_url":"https://api.github.com/users/hoffi/gists{/gist_id}","starred_url":"https://api.github.com/users/hoffi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoffi/subscriptions","organizations_url":"https://api.github.com/users/hoffi/orgs","repos_url":"https://api.github.com/users/hoffi/repos","events_url":"https://api.github.com/users/hoffi/events{/privacy}","received_events_url":"https://api.github.com/users/hoffi/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T12:39:07Z","updated_at":"2015-05-12T12:39:07Z","body":"Hm looks like the semicolon of the targets is a problem.\r\n\r\nCan you try these: \r\n* Use only one Target for example: `targets: [\"Rebuild\"]`\r\n* Execute the command manually but wrap the targets in double quotes: \r\n  * `xbuild \"/path-to-sln/name.sln\" /target:\"Clean;Build\" /verbosity:normal /toolsversion:4.0 /nologo /maxcpucount /property:Configuration=\"Development\" `\r\n\r\nWork both?"}}