From 7bac914f517a765b7965fd7bf00e4d3c0efd53b8 Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Fri, 14 May 2021 12:16:09 +0200 Subject: [PATCH] [Feature] Fix ArgumentException: Illegal characters in path (#171) --- Properties/AssemblyInfo.cs | 4 ++-- Utilities/FolderOptions.cs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 8a42f45..3b8d76f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.17.41")] -[assembly: AssemblyFileVersion("1.0.17.41")] +[assembly: AssemblyVersion("1.0.17.42")] +[assembly: AssemblyFileVersion("1.0.17.42")] diff --git a/Utilities/FolderOptions.cs b/Utilities/FolderOptions.cs index ea21983..eccf524 100644 --- a/Utilities/FolderOptions.cs +++ b/Utilities/FolderOptions.cs @@ -77,7 +77,8 @@ namespace SystemTrayMenu.Utilities catch (Exception ex) { if (ex is UnauthorizedAccessException || - ex is IOException) + ex is IOException || + ex is ArgumentException) { Log.Warn($"path:'{path}'", ex); }