diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2016-04-12 20:11:25 -0700 |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2016-04-12 20:11:25 -0700 |
| commit | 947caf287434c513db0763870071887763b5b64c (patch) | |
| tree | e4180d5c5631b4c5994efd5fcabb5c034ae2bc1d /PCbuild/python.vcxproj | |
| parent | c77059245698d93a6581d97018a3d524102b0416 (diff) | |
| download | cpython-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.vcxproj | 7 |
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 |
