Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlueBlock <danb@pobox.com>2019-09-12 23:11:45 +0300
committerBlueBlock <danb@pobox.com>2019-09-12 23:11:45 +0300
commitefc76f7f86f338c9f197dbf3156dbbf8d78faf34 (patch)
tree75843f517fe99681b04437637a8850771b1ebe71 /Duplicati/GUI
parentc70e6dd66bae74680275e4144593d7f6014a6666 (diff)
use postbuildevent to target only windows and debug
Diffstat (limited to 'Duplicati/GUI')
-rw-r--r--Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj12
1 files changed, 6 insertions, 6 deletions
diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
index ce2b11387..e82403571 100644
--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
+++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
@@ -443,12 +443,9 @@
</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
- <PostBuildEvent>if "$(ConfigurationName)"=="Debug" goto :debug
-goto :exit
-:debug
-xcopy /Y "%25USERPROFILE%25\.nuget\packages\alphavss\1.4.0\build\net45\AlphaVSS.*.dll" "$(TargetDir)\alphavss\"
-xcopy /Y "%25USERPROFILE%25\.nuget\packages\alphavss\1.4.0\lib\net45\AlphaVSS.*.dll" "$(TargetDir)\alphavss\"
-:exit</PostBuildEvent>
+ <PostBuildEvent Condition="' $(OS)'=='Windows_NT' AND $(ConfigurationName) == Debug ">copy /Y '%USERPROFILE%\.nuget\packages\alphavss\1.4.0\build\net45\AlphaVSS.*.dll' '$(TargetDir)\alphavss\'
+copy /Y '%USERPROFILE%\.nuget\packages\alphavss\1.4.0\lib\net45\AlphaVSS.*.dll' '$(TargetDir)\alphavss\'
+</PostBuildEvent>
</PropertyGroup>
<Import Project="..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
@@ -457,4 +454,7 @@ xcopy /Y "%25USERPROFILE%25\.nuget\packages\alphavss\1.4.0\lib\net45\AlphaVSS.*
</PropertyGroup>
<Error Condition="!Exists('..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets'))" />
</Target>
+ <PropertyGroup>
+ <PostBuildEvent>:: view this project config file for cusotm postbuildevent entries</PostBuildEvent>
+ </PropertyGroup>
</Project> \ No newline at end of file