Skip to content

Commit

Permalink
Merge pull request #55 from ActiveState/BE-4090-MSVC-redist
Browse files Browse the repository at this point in the history
Add additional MSVC Redistributables
  • Loading branch information
rickprice authored Jun 27, 2024
2 parents 43d80c0 + 79230a7 commit 1dfcc63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions PCbuild/pyproject.props
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,13 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
<VCRedistDir Condition="$(Platform) == 'Win32'">$(VCRedistDir)x86\</VCRedistDir>
<VCRedistDir Condition="$(Platform) != 'Win32'">$(VCRedistDir)$(Platform)\</VCRedistDir>
</PropertyGroup>

<ItemGroup Condition="$(VCInstallDir) != ''">
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" />
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\msvcp*0.dll" />
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\msvcp*0_1.dll" />
<VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\concrt*.dll" />
</ItemGroup>

<Error Text="vcruntime14*.dll not found under $(VCInstallDir)" Condition="@(VCRuntimeDLL) == ''" />
<Error Text="vcruntime*.dll, msvcp*.dll, or concrt*.dll not found under $(VCInstallDir)" Condition="@(VCRuntimeDLL) == ''" />
<Message Text="VCRuntimeDLL: @(VCRuntimeDLL)" Importance="high" />
</Target>
</Project>

0 comments on commit 1dfcc63

Please sign in to comment.