You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support commands to download targeting and runtime packs #9794
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:
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.
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.
Activity
github-actions commentedon May 22, 2025
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 commentedon Jun 21, 2025
This issue will now be closed since it has been labeled 'stale' without activity for 30 days.