Skip to content

Support commands to download targeting and runtime packs #9794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dsplaisted opened this issue Oct 3, 2018 · 1 comment
Open

Support commands to download targeting and runtime packs #9794

dsplaisted opened this issue Oct 3, 2018 · 1 comment

Comments

@dsplaisted
Copy link
Member

For .NET Core 3.0, we expect to separate targeting packs, which contain the assets needed at build time when targeting .NET Core 3.0 from runtime packs, which will include the platform-specific runtime components for .NET Core 3 which are deployed with self-contained apps.

Targeting 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".

In addition, we could also support explicit CLI commands to download targeting and runtime packs, something like the following:

  • dotnet targeting-pack install netcoreapp3.0
  • dotnet runtime-pack install Microsoft.NETCore.App -version 2.0.6 -rid linux-x64

These 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.

An 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.

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the Backlog milestone Jan 31, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants