-
Notifications
You must be signed in to change notification settings - Fork 5.3k
sort mscorrc.cpp when building on windows host #122405
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
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-resources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes issue #122403 by ensuring the generated mscorrc.cpp file has deterministic, sorted output when building on a Windows host. The PowerShell script now sorts resource IDs numerically before generating the C++ array.
Key Changes:
- Added sorting of resource array keys by their numeric value (interpreted as hex) before output generation
- Added explicit hex-to-numeric conversion for consistent formatting
janvorli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
radekdoulik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
This updates the bash counter part #122441
Fixes #122403