Skip to content

Commit

Permalink
Merge pull request #169 from DHancock/Dev
Browse files Browse the repository at this point in the history
Disable post build event on publish selfcontained
  • Loading branch information
DHancock authored Jan 26, 2025
2 parents 663799b + 3738361 commit dc8135f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WinAppSdkCleaner/WinAppSdkCleaner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<Resource Include="Resources\unknown.png" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="start /wait /b &quot;&quot; &quot;$(TargetDir)$(TargetName).exe&quot; /check_versions &quot;$(ProjectDir)versions.json&quot; &quot;$(ProjectDir)versions.dat&quot;" />
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(SelfContained)' != 'true'">
<Exec Command="start /wait /b &quot;&quot; &quot;$(TargetDir)$(TargetName).exe&quot; /check_versions &quot;$(ProjectDir)versions.json&quot; &quot;$(ProjectDir)versions.dat&quot;" />
</Target>

</Project>

0 comments on commit dc8135f

Please sign in to comment.