diff --git a/KeyManager.Library.KeyGen/KeyManager.Library.KeyGen.csproj b/KeyManager.Library.KeyGen/KeyManager.Library.KeyGen.csproj
index 62cb9f7..9dec738 100644
--- a/KeyManager.Library.KeyGen/KeyManager.Library.KeyGen.csproj
+++ b/KeyManager.Library.KeyGen/KeyManager.Library.KeyGen.csproj
@@ -10,7 +10,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager Key Generation Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Library.KeyStore.File/KeyManager.Library.KeyStore.File.csproj b/KeyManager.Library.KeyStore.File/KeyManager.Library.KeyStore.File.csproj
index 3db4967..3673dcc 100644
--- a/KeyManager.Library.KeyStore.File/KeyManager.Library.KeyStore.File.csproj
+++ b/KeyManager.Library.KeyStore.File/KeyManager.Library.KeyStore.File.csproj
@@ -11,7 +11,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager File Key Store Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Library.KeyStore.LCP.UI/KeyManager.Library.KeyStore.LCP.UI.csproj b/KeyManager.Library.KeyStore.LCP.UI/KeyManager.Library.KeyStore.LCP.UI.csproj
index 12fda31..d3e7447 100644
--- a/KeyManager.Library.KeyStore.LCP.UI/KeyManager.Library.KeyStore.LCP.UI.csproj
+++ b/KeyManager.Library.KeyStore.LCP.UI/KeyManager.Library.KeyStore.LCP.UI.csproj
@@ -10,7 +10,7 @@
-
+
runtime
diff --git a/KeyManager.Library.KeyStore.LCP/KeyManager.Library.KeyStore.LCP.csproj b/KeyManager.Library.KeyStore.LCP/KeyManager.Library.KeyStore.LCP.csproj
index 6978f15..91074e3 100644
--- a/KeyManager.Library.KeyStore.LCP/KeyManager.Library.KeyStore.LCP.csproj
+++ b/KeyManager.Library.KeyStore.LCP/KeyManager.Library.KeyStore.LCP.csproj
@@ -11,7 +11,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager LCP Key Store Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Library.KeyStore.NXP_SAM.UI/KeyManager.Library.KeyStore.NXP_SAM.UI.csproj b/KeyManager.Library.KeyStore.NXP_SAM.UI/KeyManager.Library.KeyStore.NXP_SAM.UI.csproj
index f695005..91aa2e0 100644
--- a/KeyManager.Library.KeyStore.NXP_SAM.UI/KeyManager.Library.KeyStore.NXP_SAM.UI.csproj
+++ b/KeyManager.Library.KeyStore.NXP_SAM.UI/KeyManager.Library.KeyStore.NXP_SAM.UI.csproj
@@ -10,7 +10,7 @@
-
+
runtime
diff --git a/KeyManager.Library.KeyStore.SAM_SE.UI/KeyManager.Library.KeyStore.SAM_SE.UI.csproj b/KeyManager.Library.KeyStore.SAM_SE.UI/KeyManager.Library.KeyStore.SAM_SE.UI.csproj
index 60eb64d..0418846 100644
--- a/KeyManager.Library.KeyStore.SAM_SE.UI/KeyManager.Library.KeyStore.SAM_SE.UI.csproj
+++ b/KeyManager.Library.KeyStore.SAM_SE.UI/KeyManager.Library.KeyStore.SAM_SE.UI.csproj
@@ -10,7 +10,7 @@
-
+
runtime
diff --git a/KeyManager.Library.Plugin.UI/KeyManager.Library.Plugin.UI.csproj b/KeyManager.Library.Plugin.UI/KeyManager.Library.Plugin.UI.csproj
index ed47460..0884844 100644
--- a/KeyManager.Library.Plugin.UI/KeyManager.Library.Plugin.UI.csproj
+++ b/KeyManager.Library.Plugin.UI/KeyManager.Library.Plugin.UI.csproj
@@ -10,7 +10,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager Plugin UI Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Library.Plugin/KeyManager.Library.Plugin.csproj b/KeyManager.Library.Plugin/KeyManager.Library.Plugin.csproj
index a4221ab..b794163 100644
--- a/KeyManager.Library.Plugin/KeyManager.Library.Plugin.csproj
+++ b/KeyManager.Library.Plugin/KeyManager.Library.Plugin.csproj
@@ -9,7 +9,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager Plugin Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Library.UI/Favorites.cs b/KeyManager.Library.UI/Favorites.cs
index 37ec1c1..859d037 100644
--- a/KeyManager.Library.UI/Favorites.cs
+++ b/KeyManager.Library.UI/Favorites.cs
@@ -35,7 +35,7 @@ public Favorites()
{
try
{
- _settings = KMSettings.LoadFromFile(true);
+ _settings = KMSettings.LoadFromFile(false);
if (!string.IsNullOrEmpty(_settings?.FavoritesPath))
{
_singleton = LoadFromFile(_settings.FavoritesPath);
diff --git a/KeyManager.Library.UI/KeyManager.Library.UI.csproj b/KeyManager.Library.UI/KeyManager.Library.UI.csproj
index 5fe83dc..4ce342c 100644
--- a/KeyManager.Library.UI/KeyManager.Library.UI.csproj
+++ b/KeyManager.Library.UI/KeyManager.Library.UI.csproj
@@ -11,7 +11,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager UI Library
Leosac SAS
Leosac Key Manager
@@ -31,7 +31,7 @@
-
+
diff --git a/KeyManager.Library/KeyManager.Library.csproj b/KeyManager.Library/KeyManager.Library.csproj
index 1e2b4f6..2af7c50 100644
--- a/KeyManager.Library/KeyManager.Library.csproj
+++ b/KeyManager.Library/KeyManager.Library.csproj
@@ -10,7 +10,7 @@
True
Leosac.$(AssemblyName)
- 1.16.0
+ 1.16.1
Leosac Key Manager Core Library
Leosac SAS
Leosac Key Manager
diff --git a/KeyManager.Setup/Product.wxs b/KeyManager.Setup/Product.wxs
index 2fc3473..31ec14c 100644
--- a/KeyManager.Setup/Product.wxs
+++ b/KeyManager.Setup/Product.wxs
@@ -125,7 +125,13 @@
-
+
+
+
+
+
+
+
-
+
diff --git a/KeyManager/SettingsWindow.xaml.cs b/KeyManager/SettingsWindow.xaml.cs
index 3f8e6be..cca5e3b 100644
--- a/KeyManager/SettingsWindow.xaml.cs
+++ b/KeyManager/SettingsWindow.xaml.cs
@@ -1,5 +1,6 @@
using Leosac.KeyManager.Library.UI;
using Microsoft.Win32;
+using System;
using System.Windows;
namespace Leosac.KeyManager
@@ -18,7 +19,14 @@ private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs
{
if (DataContext is KMSettings settings)
{
- settings.SaveToFile();
+ try
+ {
+ settings.SaveToFile();
+ }
+ catch(Exception ex)
+ {
+ MessageBox.Show(ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
+ }
}
}