Skip to content

Support commands to download targeting and runtime packs #9794

Closed as not planned

Description

@dsplaisted

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.

Activity

  1. transferred this issue fromdotnet/clion Jan 31, 2020
  2. added this to the Backlog milestone on Jan 31, 2020
  3. github-actions commented on May 22, 2025

    @github-actions
    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.

  4. github-actions commented on Jun 21, 2025

    @github-actions
    Contributor

    This issue will now be closed since it has been labeled 'stale' without activity for 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions