{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/sdk/issues/2662","repository_url":"https://api.github.com/repos/dotnet/sdk","labels_url":"https://api.github.com/repos/dotnet/sdk/issues/2662/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/sdk/issues/2662/comments","events_url":"https://api.github.com/repos/dotnet/sdk/issues/2662/events","html_url":"https://github.com/dotnet/sdk/issues/2662","id":380738188,"node_id":"MDU6SXNzdWUzODA3MzgxODg=","number":2662,"title":"Inconsistent defaults for class libraries vs. plugin scenario","user":{"login":"nguerrera","id":75470,"node_id":"MDQ6VXNlcjc1NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/75470?v=4","gravatar_id":"","url":"https://api.github.com/users/nguerrera","html_url":"https://github.com/nguerrera","followers_url":"https://api.github.com/users/nguerrera/followers","following_url":"https://api.github.com/users/nguerrera/following{/other_user}","gists_url":"https://api.github.com/users/nguerrera/gists{/gist_id}","starred_url":"https://api.github.com/users/nguerrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguerrera/subscriptions","organizations_url":"https://api.github.com/users/nguerrera/orgs","repos_url":"https://api.github.com/users/nguerrera/repos","events_url":"https://api.github.com/users/nguerrera/events{/privacy}","received_events_url":"https://api.github.com/users/nguerrera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-14T15:00:56Z","updated_at":"2018-11-14T15:01:41Z","closed_at":null,"author_association":"MEMBER","body":"Runtime is adding a feature to load components with deps.json.\r\n\r\nHowever, IIRC, libraries will not copy their nuget refs by default in the build in publish unification thus far. So folks might expect they can just deploy their plugin build output, but it will be missing dependencies.\r\n\r\nWe need to think about this. Opting in for libs makes sense to me on the one hand because it is common to have a large sln full of libs that will never deploy as their own thing and it could lead to a lot of extra copying. On the other hand, we generate deps.json for libs by default yet it isn't needed in this common case I'm describing and is far from free to generate. I've wanted to change that. Maybe deps.json should also be behind HasRuntimeOutput being opted in, similar in spirit to binding redirects. The guidance would then be to set it in plugin project.\r\n\r\nThe other alternative is to default both copy local of nuget dependencies and deps.json to on for libraries  Bottom line is that these two should go hand in hand."},"comment":{"url":"https://api.github.com/repos/dotnet/sdk/issues/comments/438692205","html_url":"https://github.com/dotnet/sdk/issues/2662#issuecomment-438692205","issue_url":"https://api.github.com/repos/dotnet/sdk/issues/2662","id":438692205,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODY5MjIwNQ==","user":{"login":"nguerrera","id":75470,"node_id":"MDQ6VXNlcjc1NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/75470?v=4","gravatar_id":"","url":"https://api.github.com/users/nguerrera","html_url":"https://github.com/nguerrera","followers_url":"https://api.github.com/users/nguerrera/followers","following_url":"https://api.github.com/users/nguerrera/following{/other_user}","gists_url":"https://api.github.com/users/nguerrera/gists{/gist_id}","starred_url":"https://api.github.com/users/nguerrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguerrera/subscriptions","organizations_url":"https://api.github.com/users/nguerrera/orgs","repos_url":"https://api.github.com/users/nguerrera/repos","events_url":"https://api.github.com/users/nguerrera/events{/privacy}","received_events_url":"https://api.github.com/users/nguerrera/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T15:01:41Z","updated_at":"2018-11-14T15:01:41Z","author_association":"MEMBER","body":"@peterhuene @vitek-karas"}}
{"actor":{"display_login":"nguerrera"}}