[Python-checkins] cpython: Prevent warning MSB4057: The target "InitializeBuildStatus" does not exist in

steve.dower python-checkins at python.org
Fri Dec 12 22:47:28 CET 2014


https://hg.python.org/cpython/rev/7e93ad8d57e0
changeset:   93863:7e93ad8d57e0
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri Dec 12 13:45:25 2014 -0800
summary:
  Prevent warning MSB4057: The target "InitializeBuildStatus" does not exist in the project.

files:
  PCbuild/pyproject.props |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -119,7 +119,7 @@
     </Task>
   </UsingTask>
   
-  <Target Name="KillPython" BeforeTargets="InitializeBuildStatus" Condition="'$(KillPython)' == 'true'">
+  <Target Name="KillPython" BeforeTargets="PrepareForBuild" Condition="'$(KillPython)' == 'true'">
     <Message Text="Killing any running python.exe instances..." Importance="high" />
     <KillPython FileName="$(OutDir)python$(PyDebugExt).exe" />
   </Target>

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list