{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2859","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2859/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2859/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2859/events","html_url":"https://github.com/dotnet/cli/issues/2859","id":152905883,"number":2859,"title":"Useless and  incorrect message if a tool does not have \"emitEntryPoint\": true","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/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"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":335,"closed_issues":98,"state":"open","created_at":"2015-11-02T19:50:04Z","updated_at":"2016-05-04T08:19:51Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":9,"created_at":"2016-05-04T00:35:32Z","updated_at":"2016-05-04T16:55:59Z","closed_at":null,"body":"## Steps to reproduce\r\nCreate a tool but don't put `\"emitEntryPoint\": true` in the project json. \r\nTry to use the tool from a different project\r\n\r\n## Expected  behavior\r\nEither a warning/error during compilation or a helpful error when trying to run the tool\r\n\r\n## Actual behavior\r\n```\r\nPS C:\\Users\\XXXX\\Documents\\Visual Studio 2015\\Projects\\dotnet-scratch> dotnet list-tools\r\nExpect required library hostpolicy.dll to be present in [C:\\Users\\XXXX\\.nuget\\packages\\.tools\\dotnet-list-tools\\1.0.0-t2016050317041\\netcoreapp1.0]\r\n  - This may be because of an invalid .NET Core FX configuration in the directory.\r\n```\r\n\r\nNote that the error is:\r\n- incorrect - I don't think we ever should expect hostpolicy.dll in ~\\.nuget\\packages\\.tools subfolder\r\n- useless - not really actionable \r\n- misspelled (?) - shouldn't it be `Expected required library...` instead of `Expect required library`? \r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (1.0.0-rc2-002655)\r\n\r\nProduct Information:\r\n Version:     1.0.0-rc2-002655\r\n Commit Sha:  3e96a05f9c\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"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/216930760","html_url":"https://github.com/dotnet/cli/issues/2859#issuecomment-216930760","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2859","id":216930760,"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},"created_at":"2016-05-04T16:55:58Z","updated_at":"2016-05-04T16:55:58Z","body":"1) When I added emitEntryPoint the tool was successfully resolved and executed. No, hostpolicy.dll is still not in the folder (and I don't think it should be there). Here is what I have:\r\n![image](https://cloud.githubusercontent.com/assets/1438884/15021796/8cc6bd7c-11dd-11e6-8cdd-b94e84e790a5.png)\r\n\r\n2) As you can see in the screen dumps - I did not get the `MissingEntryPointException` (not sure if throwing MissingEntryPointException in the user's face is the best option but still it is closer to the issue than `This may be because of an invalid .NET Core FX configuration in the directory` (btw. in this message what is `the directory` - dotnet directory, shared runtime directory, sdk directory, ,nuget directory, application directory? And similarly what is the .NET Core Fx configuration?)\r\n"}}