gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of DLLs to bundle (GH-110470)
This commit is contained in:
parent
ea39c877c0
commit
12cc6792d0
@ -0,0 +1,2 @@
|
|||||||
|
Allows overriding the source of VC redistributables so that releases can be
|
||||||
|
guaranteed to never downgrade between updates.
|
@ -233,7 +233,10 @@ public override bool Execute() {
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="FindVCRuntime" Returns="VCRuntimeDLL" DependsOnTargets="FindVCRedistDir">
|
<Target Name="FindVCRuntime" Returns="VCRuntimeDLL" DependsOnTargets="FindVCRedistDir">
|
||||||
<ItemGroup Condition="$(VCInstallDir) != ''">
|
<ItemGroup Condition="$(VCRuntimeDLL) != ''">
|
||||||
|
<VCRuntimeDLL Include="$(VCRuntimeDLL)" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''">
|
||||||
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
|
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user