Skip to content

Always use the UCRT bundled with the selected SDK - #189

Open
roblabla wants to merge 1 commit into
Jake-Shadle:mainfrom
roblabla:roblabla/push-xszumvpmzvvl
Open

roblabla wants to merge 1 commit into
Jake-Shadle:mainfrom
roblabla:roblabla/push-xszumvpmzvvl

Conversation

@roblabla

Copy link
Copy Markdown

Visual Studio installs the UCRT through the Windows SDK package, which carries Installers\Universal CRT Headers Libraries and Sources-x86_en-us.msi. The standalone Microsoft.Windows.UniversalCRT.HeadersLibsSources.Msi package is only used by the v140 toolset and Windows XP targeting components, and some VS 2026 manifests don't list it at all.

Furthermore, the standalone component is an older UCRT (10.0.26624.1, the same in every manifest) than the SDKs it was paired with. This means that several headers and libs are missing, as shown by the deterministic test.

This fix was verified to be correct by checking all the manifests in https://github.com/roblabla/msvc-manifest-history (which spans VS 2017 through VS 2026).

Visual Studio installs the UCRT through the Windows SDK package, which
carries `Installers\Universal CRT Headers Libraries and Sources-x86_en-us.msi`.
The standalone `Microsoft.Windows.UniversalCRT.HeadersLibsSources.Msi`
package is only used by the v140 toolset and Windows XP targeting
components, and some VS 2026 manifests don't list it at all.

Furthermore, the standalone component is an older UCRT (10.0.26624.1, the same
in every manifest) than the SDKs it was paired with. This means that several
headers and libs are missing, as shown by the deterministic test.

This fix was verified to be correct by checking all the manifests in
https://github.com/roblabla/msvc-manifest-history (which spans VS 2017
through VS 2026).
@roblabla
roblabla requested a review from Jake-Shadle as a code owner October 15, 2026 16:56
@tobil4sk

Copy link
Copy Markdown

Looks like this would apply the fix described here: #144 (comment)

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.

2 participants