{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/msbuild/issues/225","labels_url":"https://api.github.com/repos/Microsoft/msbuild/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/msbuild/issues/225/comments","events_url":"https://api.github.com/repos/Microsoft/msbuild/issues/225/events","html_url":"https://github.com/Microsoft/msbuild/issues/225","id":107815706,"number":225,"title":"building msbuild xplat on osx","user":{"login":"mat-mcloughlin","id":2362687,"avatar_url":"https://avatars.githubusercontent.com/u/2362687?v=3","gravatar_id":"","url":"https://api.github.com/users/mat-mcloughlin","html_url":"https://github.com/mat-mcloughlin","followers_url":"https://api.github.com/users/mat-mcloughlin/followers","following_url":"https://api.github.com/users/mat-mcloughlin/following{/other_user}","gists_url":"https://api.github.com/users/mat-mcloughlin/gists{/gist_id}","starred_url":"https://api.github.com/users/mat-mcloughlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mat-mcloughlin/subscriptions","organizations_url":"https://api.github.com/users/mat-mcloughlin/orgs","repos_url":"https://api.github.com/users/mat-mcloughlin/repos","events_url":"https://api.github.com/users/mat-mcloughlin/events{/privacy}","received_events_url":"https://api.github.com/users/mat-mcloughlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/msbuild/labels/.NET%20Core","name":".NET Core","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"cdmihai","id":2255729,"avatar_url":"https://avatars.githubusercontent.com/u/2255729?v=3","gravatar_id":"","url":"https://api.github.com/users/cdmihai","html_url":"https://github.com/cdmihai","followers_url":"https://api.github.com/users/cdmihai/followers","following_url":"https://api.github.com/users/cdmihai/following{/other_user}","gists_url":"https://api.github.com/users/cdmihai/gists{/gist_id}","starred_url":"https://api.github.com/users/cdmihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdmihai/subscriptions","organizations_url":"https://api.github.com/users/cdmihai/orgs","repos_url":"https://api.github.com/users/cdmihai/repos","events_url":"https://api.github.com/users/cdmihai/events{/privacy}","received_events_url":"https://api.github.com/users/cdmihai/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-09-22T22:31:42Z","updated_at":"2015-12-02T02:17:58Z","closed_at":null,"body":"I'm trying to use `build.pl` to build msbuild on osx (I'm assuming this is correct ?) but its throwing the following error:\r\n\r\n```\r\n/msbuild/src/Framework/Microsoft.Build.Framework.csproj: error : /msbuild/src/Framework/Microsoft.Build.Framework.csproj: ../dir.targets: Project file could not be imported, it was being imported by /msbuild/src/Framework/Microsoft.Build.Framework.csproj: /msbuild/src/dir.targets could not import \"$(ToolsDir)\\sign.targets\"\r\n```\r\n\r\nI was wondering if you could offer some guidance as to what the problem may be?"},"comment":{"url":"https://api.github.com/repos/Microsoft/msbuild/issues/comments/161158073","html_url":"https://github.com/Microsoft/msbuild/issues/225#issuecomment-161158073","issue_url":"https://api.github.com/repos/Microsoft/msbuild/issues/225","id":161158073,"user":{"login":"cdmihai","id":2255729,"avatar_url":"https://avatars.githubusercontent.com/u/2255729?v=3","gravatar_id":"","url":"https://api.github.com/users/cdmihai","html_url":"https://github.com/cdmihai","followers_url":"https://api.github.com/users/cdmihai/followers","following_url":"https://api.github.com/users/cdmihai/following{/other_user}","gists_url":"https://api.github.com/users/cdmihai/gists{/gist_id}","starred_url":"https://api.github.com/users/cdmihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdmihai/subscriptions","organizations_url":"https://api.github.com/users/cdmihai/orgs","repos_url":"https://api.github.com/users/cdmihai/repos","events_url":"https://api.github.com/users/cdmihai/events{/privacy}","received_events_url":"https://api.github.com/users/cdmihai/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T02:17:58Z","updated_at":"2015-12-02T02:17:58Z","body":"@JunielKatarn \r\n\r\nThanks for upgrading the script. Did you try and build MSBuild with XBuild? Did it work?\r\n\r\nIn the meantime I went ahead and edited the PR #377 so the ci script downloads a mono host of msbuild and uses that instead of XBuild.\r\n\r\nSo, here are some next action items:\r\n- do a quick investigation on whether XBuild can actually build OSX. If it doesn't, just report here why (to have it documented) and proceed to other tasks. XBuild was a nice to have, but not mandatory since we can build using the mono host build.\r\n- after you manage to build MSBuild with either XBuild or the mono build, use the newly built MSBuild to build a hello world project (a simple script with one target that prints hello world).\r\n- - this will fail because there is no `corerun` host on OSX with our current dependency on `Microsoft.NETCore.TestHost`. Update the dependency in https://github.com/Microsoft/msbuild/blob/xplat/targets/runtime.project.json with the lowest dependency that works (bumping it higher will force you to update all the other dependencies)\r\n- - after you have corerun available, try to build the hello world build script. You will notice that it fails with a null pointer exception. Investigate and fix the NPE. :)"}}