Skip to content
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

Resolve runtime pack to use for self-contained publish (including RID) #9799

Closed
dsplaisted opened this issue Oct 4, 2018 · 2 comments
Closed
Milestone

Comments

@dsplaisted
Copy link
Member

For .NET Core 3.0, we plan to use runtime packs to deliver runtime assets for self-contained publish.

We expect to use "download only" packages to acquire the appropriate runtime pack. This means that the SDK will need to select the correct runtime pack.

We can use a naming convention or a table of packages in the .NET Core SDK to help select the runtime pack. However, we still need to determine which RID to use. This may not be an exact match with the RID used for publish, for example we will want to use the Linux portable (linux-x64) RID for the runtime pack, even if the publish RID is more specific.

To do this, we may want to include the RID graph as part of the SDK, as well as a list of RIDs that there are runtime packs for. Then we can walk the graph to find the best match of available runtime packs to the publish RID.

We should also have some way of opting into a runtime pack for a RID that wasn't in the list of available runtime packs.

@livarcocc
Copy link
Contributor

For now, we should have an implicit reference to Microsoft.NETCore.Platforms so that we can use it to resolve RIDs.

@livarcocc
Copy link
Contributor

  • Depends on dotnet/cli#10104

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the 3.0 Preview2 milestone Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants