Commit b88c43dc8715b7b5ef58f00571cc8f94b587deba
1 parent
0a69004a
v1.22.1.0
Showing
4 changed files
with
10 additions
and
5 deletions
Show diff stats
Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs
| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("1.0.*")] | 34 | // [assembly: AssemblyVersion("1.0.*")] |
| 35 | -[assembly: AssemblyVersion("1.22.0.0")] | ||
| 36 | -[assembly: AssemblyFileVersion("1.22.0.0")] | 35 | +[assembly: AssemblyVersion("1.22.1.0")] |
| 36 | +[assembly: AssemblyFileVersion("1.22.1.0")] |
Vrh.Log4Pro.MaintenanceConsole/Tools.cs
| @@ -114,6 +114,11 @@ namespace Vrh.Log4Pro.MaintenanceConsole.ToolsNS | @@ -114,6 +114,11 @@ namespace Vrh.Log4Pro.MaintenanceConsole.ToolsNS | ||
| 114 | { | 114 | { |
| 115 | if (File.Exists(ZIPfilefullpath)) { File.Delete(ZIPfilefullpath); } | 115 | if (File.Exists(ZIPfilefullpath)) { File.Delete(ZIPfilefullpath); } |
| 116 | DirectoryInfo di = new DirectoryInfo(sourcefolderpath); | 116 | DirectoryInfo di = new DirectoryInfo(sourcefolderpath); |
| 117 | + if (!di.Exists) | ||
| 118 | + { | ||
| 119 | + ColorConsole.WriteLine($"Error! Directory does not exist! Path: '{sourcefolderpath}'!", ConsoleColor.Red); | ||
| 120 | + return; | ||
| 121 | + } | ||
| 117 | var inclrgx = new Regex(includefullpathregex??""); | 122 | var inclrgx = new Regex(includefullpathregex??""); |
| 118 | var exclrgx = string.IsNullOrWhiteSpace(excludefilenamemasklist) ?null:new Regex(FileNameMaskListToRegex(excludefilenamemasklist)); | 123 | var exclrgx = string.IsNullOrWhiteSpace(excludefilenamemasklist) ?null:new Regex(FileNameMaskListToRegex(excludefilenamemasklist)); |
| 119 | var archivedfiles = new List<string>(); | 124 | var archivedfiles = new List<string>(); |
Vrh.Log4Pro.MaintenanceConsole/Vrh.Log4Pro.MaintenanceConsole.csproj
| @@ -359,8 +359,8 @@ | @@ -359,8 +359,8 @@ | ||
| 359 | <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> | 359 | <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> |
| 360 | <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net452\Vrh.Web.Providers.dll</HintPath> | 360 | <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net452\Vrh.Web.Providers.dll</HintPath> |
| 361 | </Reference> | 361 | </Reference> |
| 362 | - <Reference Include="Vrh.XmlProcessing, Version=2.0.7.0, Culture=neutral, processorArchitecture=MSIL"> | ||
| 363 | - <HintPath>..\packages\Vrh.XmlProcessing.2.0.7\lib\net45\Vrh.XmlProcessing.dll</HintPath> | 362 | + <Reference Include="Vrh.XmlProcessing, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| 363 | + <HintPath>..\packages\Vrh.XmlProcessing.2.3.0\lib\net45\Vrh.XmlProcessing.dll</HintPath> | ||
| 364 | </Reference> | 364 | </Reference> |
| 365 | <Reference Include="WindowsBase" /> | 365 | <Reference Include="WindowsBase" /> |
| 366 | </ItemGroup> | 366 | </ItemGroup> |
Vrh.Log4Pro.MaintenanceConsole/packages.config
| @@ -75,5 +75,5 @@ | @@ -75,5 +75,5 @@ | ||
| 75 | <package id="System.Xml.XDocument" version="4.0.11" targetFramework="net472" /> | 75 | <package id="System.Xml.XDocument" version="4.0.11" targetFramework="net472" /> |
| 76 | <package id="VRH.Common" version="3.0.0" targetFramework="net472" /> | 76 | <package id="VRH.Common" version="3.0.0" targetFramework="net472" /> |
| 77 | <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net472" /> | 77 | <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net472" /> |
| 78 | - <package id="Vrh.XmlProcessing" version="2.0.7" targetFramework="net472" /> | 78 | + <package id="Vrh.XmlProcessing" version="2.3.0" targetFramework="net472" /> |
| 79 | </packages> | 79 | </packages> |
| 80 | \ No newline at end of file | 80 | \ No newline at end of file |