{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/10086","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/10086/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/10086/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/10086/events","html_url":"https://github.com/dotnet/cli/issues/10086","id":366134967,"node_id":"MDU6SXNzdWUzNjYxMzQ5Njc=","number":10086,"title":"Support commands to download targeting and runtime packs","user":{"login":"dsplaisted","id":145043,"node_id":"MDQ6VXNlcjE0NTA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/145043?v=4","gravatar_id":"","url":"https://api.github.com/users/dsplaisted","html_url":"https://github.com/dsplaisted","followers_url":"https://api.github.com/users/dsplaisted/followers","following_url":"https://api.github.com/users/dsplaisted/following{/other_user}","gists_url":"https://api.github.com/users/dsplaisted/gists{/gist_id}","starred_url":"https://api.github.com/users/dsplaisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsplaisted/subscriptions","organizations_url":"https://api.github.com/users/dsplaisted/orgs","repos_url":"https://api.github.com/users/dsplaisted/repos","events_url":"https://api.github.com/users/dsplaisted/events{/privacy}","received_events_url":"https://api.github.com/users/dsplaisted/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T01:01:30Z","updated_at":"2018-10-03T01:01:30Z","closed_at":null,"author_association":"MEMBER","body":"For .NET Core 3.0, we expect to separate [targeting packs](#10006), which contain the assets needed at build time when targeting .NET Core 3.0 from [runtime packs](#10007), which will include the platform-specific runtime components for .NET Core 3 which are deployed with self-contained apps.\r\n\r\nTargeting packs will ship as part of the .NET Core SDK, and targeting packs and runtime packs will be acquired during restore as necessary via [\"download only package references\"](https://github.com/NuGet/Home/issues/7339).\r\n\r\nIn addition, we could also support explicit CLI commands to download targeting and runtime packs, something like the following:\r\n\r\n- `dotnet targeting-pack install netcoreapp3.0`\r\n- `dotnet runtime-pack install Microsoft.NETCore.App -version 2.0.6 -rid linux-x64`\r\n\r\nThese commands would basically download the relevant packages to the local NuGet cache.  This could be useful for scenarios where you are going to go offline, or want to publish a self-contained app without restoring.\r\n\r\nAn alternative to these commands would be to build or publish a project targeting the desired framework / RID, so we currently don't think we need to add these commands.  However, this issue tracks the idea."}}
{"actor":{"display_login":"dsplaisted"}}