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

Use trimmed-down RID graph for .NET 8 and higher #34033

Closed
dsplaisted opened this issue Jul 14, 2023 · 0 comments · Fixed by #34279
Closed

Use trimmed-down RID graph for .NET 8 and higher #34033

dsplaisted opened this issue Jul 14, 2023 · 0 comments · Fixed by #34279
Assignees
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@dsplaisted
Copy link
Member

With .NET 8, we are making some RID simplifications: dotnet/designs#260

Basically, we will no longer use RIDs for every different Linux distro and version, and will instead rely on "portable" RIDs such as linux-x64.

To support this in the SDK, we should do the following:

  • Include a simplified RID graph in the .NET SDK, with contents specified here: https://gist.github.com/elinor-fung/d61f6011dff382f6299bd63ecf694a6d
  • When targeting .NET 8 and higher, use the simplified RID graph for RuntimeIdentifierGraphPath by default. An MSBuld property (TBD) should switch back to the full RID graph
  • Source-built versions of the SDK will use a RID specific to the corresponding distro. That RID should be included in the simplified RID graph for source-built SDKs. So there should be an MSBuild target/task that can be used to insert a specified RID in the simplified RID graph (parented to another specified RID).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant