Prevent warning MSB4057: The target "InitializeBuildStatus" does not exist in the project.

This commit is contained in:
Steve Dower 2014-12-12 13:45:25 -08:00
parent 10e65856a3
commit f4f1080e2e
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
</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>