From 8196e61a2c4db423f62b9c670a2c99a5fbbfcdfd Mon Sep 17 00:00:00 2001 From: "Kaim, Sean M" Date: Mon, 2 May 2016 23:54:25 -0400 Subject: [PATCH] last fix to ensure loading correct settings file --- mRemoteV1/App/Info/SettingsFileInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mRemoteV1/App/Info/SettingsFileInfo.cs b/mRemoteV1/App/Info/SettingsFileInfo.cs index 5802c014c..8f54b8f5c 100644 --- a/mRemoteV1/App/Info/SettingsFileInfo.cs +++ b/mRemoteV1/App/Info/SettingsFileInfo.cs @@ -8,7 +8,7 @@ namespace mRemoteNG.App.Info public class SettingsFileInfo { public static readonly string exe = Assembly.GetExecutingAssembly().GetName().CodeBase; - public static readonly string exePath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).AbsolutePath); + public static readonly string exePath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath); #if !PORTABLE public static readonly string SettingsPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + "\\" + Application.ProductName; #else