diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-04-13 03:11:25 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-04-13 03:11:25 (GMT) |
commit | a7a222fde79af10dcccbfbd30f24e41913b2473d (patch) | |
tree | 4d1d6df87b8829bafb3d4c2456881663db910727 /PCbuild/python.vcxproj | |
parent | 1b80b24007154d1f5764b1c14b95c80289cd3c34 (diff) | |
download | cpython-a7a222fde79af10dcccbfbd30f24e41913b2473d.zip cpython-a7a222fde79af10dcccbfbd30f24e41913b2473d.tar.gz cpython-a7a222fde79af10dcccbfbd30f24e41913b2473d.tar.bz2 |
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 f9580be..60116df 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 |