summaryrefslogtreecommitdiff
path: root/PCbuild/python.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-04-12 20:11:25 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-04-12 20:11:25 -0700
commit947caf287434c513db0763870071887763b5b64c (patch)
treee4180d5c5631b4c5994efd5fcabb5c034ae2bc1d /PCbuild/python.vcxproj
parentc77059245698d93a6581d97018a3d524102b0416 (diff)
downloadcpython-947caf287434c513db0763870071887763b5b64c.tar.gz
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Diffstat (limited to 'PCbuild/python.vcxproj')
-rw-r--r--PCbuild/python.vcxproj7
1 files changed, 7 insertions, 0 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index f9580be9bf..60116df271 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -83,6 +83,13 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
+ <Target Name="ValidateUcrtbase" AfterTargets="AfterBuild">
+ <PropertyGroup>
+ <UcrtName>ucrtbase</UcrtName>
+ <UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName>
+ </PropertyGroup>
+ <Exec Command='"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
+ </Target>
<Target Name="GeneratePythonBat" AfterTargets="AfterBuild">
<PropertyGroup>
<_Content>@rem This script invokes the most recently built Python with all arguments