Skip to content

Commit

Permalink
since we put debug builds directly in output folder tree (so we have …
Browse files Browse the repository at this point in the history
…all the required bits to debug w/ (e.g. the "EC\Plugins" subfolder), then don't try to copy it to itself as a Post-build event when "$(ConfigurationName)" == "Debug"
  • Loading branch information
bobeaton committed May 1, 2024
1 parent 4aab663 commit c49f5a1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/SilConvertersXML/SilConvertersXML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,12 @@
</Target>
-->
<PropertyGroup>
<PostBuildEvent>xcopy /y "$(TargetDir)*.*" $(SolutionDir)output\$(PlatformName)\$(ConfigurationName)</PostBuildEvent>
<PostBuildEvent>IF "$(ConfigurationName)" == "Debug" goto nocopy

xcopy /y "$(TargetDir)*.*" $(SolutionDir)output\$(PlatformName)\$(ConfigurationName)

:nocopy
</PostBuildEvent>
</PropertyGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand Down

0 comments on commit c49f5a1

Please sign in to comment.