Delay-load icu so that we don't fail to start up on Windows <1903 (#18707)

(cherry picked from commit 75d8fc29f5d2db63abbc6135e276287f30958097)
Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgYi9uQ
Service-Version: 1.23
This commit is contained in:
Dustin L. Howett 2025-03-20 19:57:06 -05:00 committed by Dustin L. Howett
parent a9db4e403f
commit 21e63adec5
2 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>delayimp.lib;Uiautomationcore.lib;onecoreuap.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>uiautomationcore.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<DelayLoadDLLs>uiautomationcore.dll;icu.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<!--
ControlLib contains a DllMain that we need to force the use of.
If you don't have this, then you'll see an error like

View File

@ -87,6 +87,7 @@
<Link>
<AllowIsolation>true</AllowIsolation>
<AdditionalDependencies>winmm.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>icu.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
</Link>
</ItemDefinitionGroup>
<!-- Careful reordering these. Some default props (contained in these files) are order sensitive. -->