diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
index 98d9b0b79..c84af5e6a 100644
--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
+++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
@@ -443,8 +443,10 @@
-
-
+ if "$(ConfigurationName)"=="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\"
+)