{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2555","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2555/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2555/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2555/events","html_url":"https://github.com/dotnet/cli/issues/2555","id":149211522,"number":2555,"title":"Confusing error message when trying to run a netstandard project","user":{"login":"moozzyk","id":1438884,"avatar_url":"https://avatars.githubusercontent.com/u/1438884?v=3","gravatar_id":"","url":"https://api.github.com/users/moozzyk","html_url":"https://github.com/moozzyk","followers_url":"https://api.github.com/users/moozzyk/followers","following_url":"https://api.github.com/users/moozzyk/following{/other_user}","gists_url":"https://api.github.com/users/moozzyk/gists{/gist_id}","starred_url":"https://api.github.com/users/moozzyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moozzyk/subscriptions","organizations_url":"https://api.github.com/users/moozzyk/orgs","repos_url":"https://api.github.com/users/moozzyk/repos","events_url":"https://api.github.com/users/moozzyk/events{/privacy}","received_events_url":"https://api.github.com/users/moozzyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"schellap","id":10644403,"avatar_url":"https://avatars.githubusercontent.com/u/10644403?v=3","gravatar_id":"","url":"https://api.github.com/users/schellap","html_url":"https://github.com/schellap","followers_url":"https://api.github.com/users/schellap/followers","following_url":"https://api.github.com/users/schellap/following{/other_user}","gists_url":"https://api.github.com/users/schellap/gists{/gist_id}","starred_url":"https://api.github.com/users/schellap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schellap/subscriptions","organizations_url":"https://api.github.com/users/schellap/orgs","repos_url":"https://api.github.com/users/schellap/repos","events_url":"https://api.github.com/users/schellap/events{/privacy}","received_events_url":"https://api.github.com/users/schellap/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":247,"closed_issues":86,"state":"open","created_at":"2015-11-02T19:50:04Z","updated_at":"2016-04-18T17:56:09Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2016-04-18T17:03:18Z","updated_at":"2016-04-18T17:57:13Z","closed_at":null,"body":"## Steps to reproduce\r\nI wanted to create an app but by mistake use the `netstandard1.5` moniker instead of `netcoreapp1.0` - like this:\r\n\r\n```\r\n{\r\n  \"compilationOptions\": {\r\n    \"emitEntryPoint\": true,\r\n    \"debugType\": \"portable\"\r\n  },\r\n  \"dependencies\" : {\r\n    \"NETStandard.Library\": \"1.5.0-*\"\r\n  },\r\n  \"frameworks\": {\r\n    \"netstandard1.5\": {\r\n      \"imports\": [\r\n        \"portable-net45+wp80+win8+wpa81+dnxcore50\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n```\r\ndo:\r\n`dotnet run`\r\n\r\n## Expected  behavior\r\nAn error saying my application is not an app but a dll and should target netcoreapp1.0 and not netstandard1.5 if it is supposed to be runnable\r\n\r\n## Actual behavior\r\n\r\n```\r\nPS C:\\Users\\\\Documents\\Visual Studio 2015\\Projects\\dotnet-scratch> dotnet run\r\nProject dotnet-scratch (.NETStandard,Version=v1.5) was previously compiled. Skipping compilation.\r\nCould not load host policy library from [C:\\Users\\\\Documents\\Visual Studio 2015\\Projects\\dotnet-scratch\\bin\\Debug\\netstandard1.5]\r\n```\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n``\r\ndotnet --version\r\n1.0.0-rc2-002416\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/211502798","html_url":"https://github.com/dotnet/cli/issues/2555#issuecomment-211502798","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2555","id":211502798,"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-04-18T17:57:13Z","updated_at":"2016-04-18T17:57:13Z","body":"Assigning to schellap for \"no entrypoint\" fix. @moozzyk please create the second bug only for \"this is not the right framework\"."}}