{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2924","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2924/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2924/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2924/events","html_url":"https://github.com/dotnet/cli/issues/2924","id":153515959,"number":2924,"title":"Microsoft.NETCore.App cannot be restored on projects with netstandard1.0, netstandard1.1 or netstandard1.2.","user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars.githubusercontent.com/u/9010698?v=3","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/5","html_url":"https://github.com/dotnet/cli/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/5/labels","id":1389772,"number":5,"title":"1.0.0-rtm","description":"2016 (https://github.com/aspnet/Home/wiki/Roadmap)","creator":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars.githubusercontent.com/u/8228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"open_issues":356,"closed_issues":103,"state":"open","created_at":"2015-11-02T19:50:04Z","updated_at":"2016-05-08T20:21:50Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-05-06T18:55:58Z","updated_at":"2016-05-08T20:21:50Z","closed_at":"2016-05-08T20:21:50Z","body":"## Expectations\r\n`Microsoft.NETCore.App` currently targets netstandard1.0 which lead me to believe it'd be possible (although not recommended) to use it in a >= netstandard1.0 project. However, it seems that the package is hand crafted and has dependencies that are inconsistent with its actual TFM.\r\n\r\n## Steps to reproduce\r\n- Create a project with the `project.json`:\r\n```json\r\n{\r\n  \"dependencies\": {\r\n    \"Microsoft.NETCore.App\": {\r\n      \"type\": \"platform\",\r\n      \"version\": \"1.0.0-*\"\r\n    }\r\n  },\r\n  \"frameworks\": {\r\n    \"netstandard1.0\": {\r\n      \"dependencies\": {}\r\n    }\r\n  }\r\n}\r\n```\r\n*You can can change the netstandard1.0 tfm to 1.1 or 1.2 and get the same behavior*\r\n- Run dotnet restore\r\n\r\n## Expected  behavior\r\n- Restore completes successfully because `Microsoft.NETCore.App`'s nupkg says it targets `netstandard1.0`.\r\n\r\n## Actual behavior\r\n- Restore fails because `Microsoft.NETCore.App` actually targets packages that depend on `netstandard1.3`\r\n\r\nAttached error log: [restoreerror.txt](https://github.com/dotnet/cli/files/252868/restoreerror.txt)\r\n\r\n\r\n## Environment data\r\n.NET Command Line Tools (1.0.0-rc2-002678)\r\n\r\nProduct Information:\r\n Version:     1.0.0-rc2-002678\r\n Commit Sha:  3b2ea9d14b\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.10586\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n\r\n\r\nThis seems like a blocker since the `Microsoft.NETCore.App` is the bread and butter to .NET core but I'll let the higher powers decide.\r\n\r\n/cc @Eilon @DamianEdwards @davidfowl"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/217743860","html_url":"https://github.com/dotnet/cli/issues/2924#issuecomment-217743860","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2924","id":217743860,"user":{"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},"created_at":"2016-05-08T20:21:50Z","updated_at":"2016-05-08T20:21:50Z","body":"I chatted briefly with @weshaggard about this on Friday and he seemed to feel that the current behavior is by-design. I'll leave it to @weshaggard to comment here and to close the bug if appropriate."}}