{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1024","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1024/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1024/events","html_url":"https://github.com/dotnet/cli/issues/1024","id":128598368,"number":1024,"title":"New dotnet publish command not working as advertised","user":{"login":"GuardRex","id":1622880,"avatar_url":"https://avatars.githubusercontent.com/u/1622880?v=3","gravatar_id":"","url":"https://api.github.com/users/GuardRex","html_url":"https://github.com/GuardRex","followers_url":"https://api.github.com/users/GuardRex/followers","following_url":"https://api.github.com/users/GuardRex/following{/other_user}","gists_url":"https://api.github.com/users/GuardRex/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardRex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardRex/subscriptions","organizations_url":"https://api.github.com/users/GuardRex/orgs","repos_url":"https://api.github.com/users/GuardRex/repos","events_url":"https://api.github.com/users/GuardRex/events{/privacy}","received_events_url":"https://api.github.com/users/GuardRex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/7","html_url":"https://github.com/dotnet/cli/milestones/Backlog","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/7/labels","id":1426021,"number":7,"title":"Backlog","description":null,"creator":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"open_issues":145,"closed_issues":8,"state":"open","created_at":"2015-11-23T20:29:29Z","updated_at":"2016-01-25T18:47:00Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-25T17:51:50Z","updated_at":"2016-01-25T19:41:01Z","closed_at":null,"body":"I'm getting \r\n```\r\n'C:\\PLATFORM_ISSUE\\src\\PlatformIssue' cannot be published  for 'dnxcore50' 'osx.10.10-x64'\r\n```\r\n... with ...\r\n```\r\ndotnet publish -f dnxcore50 -r osx.10.10-x64\r\n```\r\n... for ...\r\n```json\r\n  \"frameworks\": {\r\n    \"dnxcore50\": {}\r\n  },\r\n```\r\nor\r\n```\r\n\"frameworks\": {\r\n  \"dnxcore50\": { \r\n    \"imports\": \"portable-net45+win8\"\r\n}\r\n```\r\n... as @davidfowl has in his sample for `dotnet cli`.\r\n\r\nIt's not clear what the problem is, and can the error message be more specific? I may have seen a ref somewhere that a package is required to make this work, but I've lost the ref.\r\n\r\nAlso, could you say why `\"imports\": \"portable-net45+win8\"` is required. This is for .NET Core on Nano Server testing btw.\r\n\r\n[EDIT] It looks like the defaults (that were working yesterday) no longer work. The docs should be updated if that's the case."},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/174635157","html_url":"https://github.com/dotnet/cli/issues/1024#issuecomment-174635157","issue_url":"https://api.github.com/repos/dotnet/cli/issues/1024","id":174635157,"user":{"login":"brthor","id":14280892,"avatar_url":"https://avatars.githubusercontent.com/u/14280892?v=3","gravatar_id":"","url":"https://api.github.com/users/brthor","html_url":"https://github.com/brthor","followers_url":"https://api.github.com/users/brthor/followers","following_url":"https://api.github.com/users/brthor/following{/other_user}","gists_url":"https://api.github.com/users/brthor/gists{/gist_id}","starred_url":"https://api.github.com/users/brthor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brthor/subscriptions","organizations_url":"https://api.github.com/users/brthor/orgs","repos_url":"https://api.github.com/users/brthor/repos","events_url":"https://api.github.com/users/brthor/events{/privacy}","received_events_url":"https://api.github.com/users/brthor/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T19:41:01Z","updated_at":"2016-01-25T19:41:01Z","body":"@GuardRex  I usually see this error when I haven't yet run restore on a project"}}