-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
Currently, the RuntimeIdentifier graph is provided via the Microsoft.NETCore.Platforms package, which is a dependency of the Microsoft.NETCore.App and NETStandard.Library packages. With .NET Core 3.0, we will be using Targeting Packs instead of these packages. The targeting packs won't support package dependencies, and won't be able to include the runtime graph for NuGet.
So we will need to find a different way of bringing in the RID graph. Two options come to mind:
- Include an implicit
PackageReference
to Microsoft.NETCore.Platforms. This has the downside that we would need to include this package in the NuGetFallbackFolder, which we would like to get rid of. - Include the RID graph in the SDK, and pass it directly to NuGet for Restore. We will probably already be including the RID graph in the SDK as part of Resolve runtime pack to use for self-contained publish (including RID) #9799. So the main thing needed to support this option is a NuGet feature: Mechanism for supplying runtime.json outside of a package NuGet/Home#7351
Metadata
Metadata
Assignees
Labels
No labels