Skip to content

Commit 571b391

Browse files
committed
Prevent warning MSB4057: The target "InitializeBuildStatus" does not exist in the project.
1 parent f3c3215 commit 571b391

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PCbuild/pyproject.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
119119
</Task>
120120
</UsingTask>
121121

122-
<Target Name="KillPython" BeforeTargets="InitializeBuildStatus" Condition="'$(KillPython)' == 'true'">
122+
<Target Name="KillPython" BeforeTargets="PrepareForBuild" Condition="'$(KillPython)' == 'true'">
123123
<Message Text="Killing any running python.exe instances..." Importance="high" />
124124
<KillPython FileName="$(OutDir)python$(PyDebugExt).exe" />
125125
</Target>

0 commit comments

Comments
 (0)