Skip to content

Conversation

@mitchcapper
Copy link
Contributor

win10-* is no longer a valid rid

https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/rid-graph

Summary of the Pull Request

This package would fail to install the dependencies to the correct location in .net 8 and later by default. win-x64 is a valid runtime id in prior .net versions so I think this should be back compat.

Without this the package fails to do its job on newer builds unless <UseRidGraph>true</UseRidGraph> and the user sets win10-x64 as their RID in their project file.

@DHowett
Copy link
Member

DHowett commented Jan 6, 2025

no longer

ugh. an ecosystem that keeps changing like this should be doomed.

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! do we need similar for the Wpf control?

@mitchcapper mitchcapper force-pushed the fix_winconpty_runtime_id branch from 5e9addb to 055061b Compare January 6, 2025 19:38
@mitchcapper
Copy link
Contributor Author

I did push an update with the build target file as well, it is the only other place in the entire repo that I see the older runtime style.

As for WPF: No, the WPF control doesn't have any hardcoded runtime ids like this for output targets (so it automatically is generating them with the correct path).

image

@carlos-zamora carlos-zamora merged commit c6e7f32 into microsoft:main Jan 6, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.23 Servicing Pipeline May 21, 2025
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.22 Servicing Pipeline May 21, 2025
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.22 Servicing Pipeline Jun 17, 2025
DHowett pushed a commit that referenced this pull request Jun 17, 2025
win10-* is no longer a valid rid

https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/rid-graph

This package would fail to install the dependencies to the correct
location in .net 8 and later by default. win-x64 is a valid runtime id
in prior .net versions so I think this should be back compat.

Without this the package fails to do its job on newer builds unless `
<UseRidGraph>true</UseRidGraph>` and the user sets `win10-x64` as their
RID in their project file.

(cherry picked from commit c6e7f32)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgap6WE
Service-Version: 1.22
@DHowett DHowett moved this from To Cherry Pick to Rejected in 1.23 Servicing Pipeline Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Cherry Picked
Status: Rejected

Development

Successfully merging this pull request may close these issues.

3 participants