-
Notifications
You must be signed in to change notification settings - Fork 269
Nuget needs to support dependencies specific to target runtime #1660
Copy link
Copy link
Open
Labels
Area:PackageDefinitionpackage definition nuspecpackage definition nuspecFunctionality:RestorePartner:VS-OtherPriority:2Issues for the current backlog.Issues for the current backlog.Style:PackageReferenceType:Feature
Milestone
Description
Currently there is no way to represent dependencies that are specific to a library under runtimes/{rid}/lib/{tfm}. This made sense when RID was only used for architecture, now that RID also represents OS platform it does not. There are entire packages/technologies that will only exist on a certain OS and folks will need to build fat-packages that depend on these.
I met with @davidfowl, @yishaigalatzer, @anurse, @Eilon, and @lodejard on 10/6 and we came up with the following:
Sounds like a good feature. Doesn’t replace runtime.json, solves a different problem.
A couple different options for representation:
- targetRuntime on a dependency group
- Separate runtime dependency section that supports both targetFramework and targetRuntime.
- Has the benefit of also supporting another scenario which is “private dependencies”.
We’d need to make sure that it has the right interaction with runtime.json if that is also in play.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area:PackageDefinitionpackage definition nuspecpackage definition nuspecFunctionality:RestorePartner:VS-OtherPriority:2Issues for the current backlog.Issues for the current backlog.Style:PackageReferenceType:Feature
Type
Fields
Give feedbackNo fields configured for issues without a type.