Skip to content

Commit

Permalink
Enable post build events only on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymen TROUDI authored and Aymen TROUDI committed Aug 10, 2023
1 parent 1d97827 commit 2811f93
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
Binary file modified files/Example01.Plugin.Slack.dll
Binary file not shown.
Binary file modified files/Example01.Plugin.Teams.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example01.Core\Example01.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example01.Core\Example01.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example02.Core\Example02.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example02.Core\Example02.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example03.Core\Example03.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ProjectReference Include="..\Example03.Core\Example03.Core.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Exec Command="xcopy /Y $(TargetDir)$(TargetName).dll $(SolutionDir)files" />
</Target>

Expand Down

0 comments on commit 2811f93

Please sign in to comment.