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:
authorDean Ferreyra <dean@octw.com>2020-09-19 05:58:18 +0300
committerDean Ferreyra <dean@octw.com>2020-09-19 05:58:18 +0300
commitedb2819d6f982e3721d92bcef2f30918815a35cd (patch)
tree67042764d1424189d1bcdd11bed9f67e772c2a04 /Duplicati/GUI
parentba48f1474639a33ec78aeb3629560c5e77ee3028 (diff)
Disable "legacy path handling" for executables
This is a defensive measure in case legacy path handling has been enabled at the system level. Duplicati requires that legacy path handling be _disabled_ to function properly. Issue #4295 appears to be a result of legacy path handling being enabled globally.
Diffstat (limited to 'Duplicati/GUI')
-rw-r--r--Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config b/Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
index 25008be6c..9eaab5dd7 100644
--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
+++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
@@ -2,6 +2,7 @@
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" /></startup>
<runtime>
+ <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />