Fix filename in PostBuildEvent

NzbDrone.{Mono, Windows} has been renamed to Sonarr.{Mono, Windows} in adaf428aa7
This commit is contained in:
Wu Haotian 2019-02-07 18:59:38 +08:00 committed by Taloth
parent fb4483fdcf
commit 7ae906863d
2 changed files with 8 additions and 8 deletions

View File

@ -126,12 +126,12 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent Condition="('$(OS)' == 'Windows_NT')">
xcopy /s /y "$(SolutionDir)\..\_output\NzbDrone.Mono.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\NzbDrone.Windows.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\Sonarr.Mono.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\Sonarr.Windows.*" "$(TargetDir)"
</PostBuildEvent>
<PostBuildEvent Condition="('$(OS)' != 'Windows_NT')">
cp -rv $(SolutionDir)\..\_output\NzbDrone.Mono.* $(TargetDir) || true
cp -rv $(SolutionDir)\..\_output\NzbDrone.Windows.* $(TargetDir) || true
cp -rv $(SolutionDir)\..\_output\Sonarr.Mono.* $(TargetDir) || true
cp -rv $(SolutionDir)\..\_output\Sonarr.Windows.* $(TargetDir) || true
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@ -181,12 +181,12 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent Condition="('$(OS)' == 'Windows_NT')">
xcopy /s /y "$(SolutionDir)\..\_output\NzbDrone.Mono.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\NzbDrone.Windows.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\Sonarr.Mono.*" "$(TargetDir)"
xcopy /s /y "$(SolutionDir)\..\_output\Sonarr.Windows.*" "$(TargetDir)"
</PostBuildEvent>
<PostBuildEvent Condition="('$(OS)' != 'Windows_NT')">
cp -rv $(SolutionDir)\..\_output\NzbDrone.Mono.* $(TargetDir)
cp -rv $(SolutionDir)\..\_output\NzbDrone.Windows.* $(TargetDir)
cp -rv $(SolutionDir)\..\_output\Sonarr.Mono.* $(TargetDir)
cp -rv $(SolutionDir)\..\_output\Sonarr.Windows.* $(TargetDir)
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.