Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Nov 22, 2025

This PR change XRefSpecUidComparer's StringComparer from InvariantCulture to Ordinal.

docfx v2.70.0 or later version using InvariantGlobalization mode.
So xrefmap is expected to be sorted by Ordinal orders even when using StringComparer.InvariantCulture.

Background
On Alpine .NET 9/10 SDK container image.
InvariantGlobalization mode is unexpectedly disabled. And generating xrefmap that sorted different orders.
(It's container image side issue. It should not be overridden by environment variable)

See: #10900 for details.

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.

1 participant