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 | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
33 | 33 | // by using the '*' as shown below: |
34 | 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 | 114 | { |
115 | 115 | if (File.Exists(ZIPfilefullpath)) { File.Delete(ZIPfilefullpath); } |
116 | 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 | 122 | var inclrgx = new Regex(includefullpathregex??""); |
118 | 123 | var exclrgx = string.IsNullOrWhiteSpace(excludefilenamemasklist) ?null:new Regex(FileNameMaskListToRegex(excludefilenamemasklist)); |
119 | 124 | var archivedfiles = new List<string>(); | ... | ... |
Vrh.Log4Pro.MaintenanceConsole/Vrh.Log4Pro.MaintenanceConsole.csproj
... | ... | @@ -359,8 +359,8 @@ |
359 | 359 | <Reference Include="Vrh.Web.Providers, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL"> |
360 | 360 | <HintPath>..\packages\VRH.Web.Providers.2.0.2\lib\net452\Vrh.Web.Providers.dll</HintPath> |
361 | 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 | 364 | </Reference> |
365 | 365 | <Reference Include="WindowsBase" /> |
366 | 366 | </ItemGroup> | ... | ... |
Vrh.Log4Pro.MaintenanceConsole/packages.config
... | ... | @@ -75,5 +75,5 @@ |
75 | 75 | <package id="System.Xml.XDocument" version="4.0.11" targetFramework="net472" /> |
76 | 76 | <package id="VRH.Common" version="3.0.0" targetFramework="net472" /> |
77 | 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 | 79 | </packages> |
80 | 80 | \ No newline at end of file | ... | ... |