diff --git a/Vrh.Log4Pro.MaintenanceConsole/Manager - WindowsServiceManager.cs b/Vrh.Log4Pro.MaintenanceConsole/Manager - WindowsServiceManager.cs index 1d2b620..965c181 100644 --- a/Vrh.Log4Pro.MaintenanceConsole/Manager - WindowsServiceManager.cs +++ b/Vrh.Log4Pro.MaintenanceConsole/Manager - WindowsServiceManager.cs @@ -1023,13 +1023,16 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WindowsServiceManagerNS #region XmlStructure public static class XmlStructure { - public static class KeyGroup + public static class KeyGroups { - public static class Attributes + public static class KeyGroup { - public static class Key { public static class Values { public static string DEFAULT = ""; } } - public static class Description { public static class Values { public static string DEFAULT = ""; } } - public static class KeyList { public static class Values { public static string DEFAULT = ""; } } + public static class Attributes + { + public static class Key { public static class Values { public static string DEFAULT = ""; } } + public static class Description { public static class Values { public static string DEFAULT = ""; } } + public static class KeyList { public static class Values { public static string DEFAULT = ""; } } + } } } } @@ -1037,7 +1040,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WindowsServiceManagerNS } public static KeyGroupList Factory(XElement keygrouplistcontainer) { - var wsgxmllist = keygrouplistcontainer.Elements(XName.Get(nameof(KeyGroup.XmlStructure.KeyGroup))); + var wsgxmllist = keygrouplistcontainer.Element(XName.Get(nameof(KeyGroup.XmlStructure.KeyGroups)))?.Elements(XName.Get(nameof(KeyGroup.XmlStructure.KeyGroups.KeyGroup))); if (wsgxmllist == null || !wsgxmllist.Any()) return null; var kgl = new KeyGroupList(); foreach (var wsgxml in wsgxmllist) { var wsg = new KeyGroup(wsgxml); if (wsg.Valid) { kgl.Add(wsg); } } diff --git a/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs b/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs index cd0bffd..a6f4b30 100644 --- a/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs +++ b/Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs @@ -32,5 +32,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.11.4.0")] -[assembly: AssemblyFileVersion("1.11.4.0")] +[assembly: AssemblyVersion("1.11.5.0")] +[assembly: AssemblyFileVersion("1.11.5.0")] -- libgit2 0.21.2