Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79230a7

Browse files
committed
Redistribute msvcp140.dll and concrt140.dll
The wildcarding of msvcp is making the assumption that the msvcp number will end in a zero - this seems to hold currently, but may change in the future.
1 parent 43d80c0 commit 79230a7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

PCbuild/pyproject.props

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,13 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
169169
<VCRedistDir Condition="$(Platform) == 'Win32'">$(VCRedistDir)x86\</VCRedistDir>
170170
<VCRedistDir Condition="$(Platform) != 'Win32'">$(VCRedistDir)$(Platform)\</VCRedistDir>
171171
</PropertyGroup>
172-
173172
<ItemGroup Condition="$(VCInstallDir) != ''">
174173
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
174+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\msvcp*0.dll" />
175+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\msvcp*0_1.dll" />
176+
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\concrt*.dll" />
175177
</ItemGroup>
176-
177-
<Error Text="vcruntime14*.dll not found under $(VCInstallDir)" Condition="@(VCRuntimeDLL) == ''" />
178+
<Error Text="vcruntime*.dll, msvcp*.dll, or concrt*.dll not found under $(VCInstallDir)" Condition="@(VCRuntimeDLL) == ''" />
178179
<Message Text="VCRuntimeDLL: @(VCRuntimeDLL)" Importance="high" />
179180
</Target>
180181
</Project>

0 commit comments

Comments
 (0)