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

Fix Microsoft.Windows.Console.ConPTY package runtime identifiers #18387

Merged
merged 1 commit into from
Jan 6, 2025

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
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

Successfully merging this pull request may close these issues.

3 participants