diff options
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/python.vcxproj | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index f445137..77bccde 100644 --- a/PCbuild/python.vcxproj +++ b/PCbuild/python.vcxproj @@ -117,6 +117,10 @@ <Import Project="regen.targets" /> </ImportGroup> <Target Name="_TriggerPostRegen" AfterTargets="Build" DependsOnTargets="PostBuildRegen" /> + <Target Name="GeneratePyBuildDirTxt" AfterTargets="Link"> + <Message Text="Generating $(OutDir)pybuilddir.txt" /> + <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="%0D%0A" Overwrite="true" /> + </Target> <Target Name="ValidateUcrtbase" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGInstrument' and $(Platform) != 'ARM' and $(Platform) != 'ARM64'"> <PropertyGroup> <UcrtName>ucrtbase</UcrtName> @@ -147,7 +151,4 @@ $(_PGOPath) </PropertyGroup> <WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" /> </Target> - <Target Name="GeneratePyBuildDirTxt" BeforeTargets="AfterBuild"> - <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="" Overwrite="true" /> - </Target> </Project> |