Commit ba9c4e753b6fc1c1c43bf5b43043211931b55d4a

Authored by Schwirg László
1 parent 468fd6de

v1.2.0.0

- Desktop folder és egyéb speciális folder-ek backupjának megoldása
Vrh.Log4Pro.MaintenanceConsole/App.config
... ... @@ -4,35 +4,35 @@
4 4 <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5 5 <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6 6 </configSections>
7   - <startup>
8   - <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
9   - </startup>
10   - <appSettings>
11   - <add key="VRH.XmlParser:root" value="XmlParser.xml" />
12   - </appSettings>
13   - <runtime>
14   - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
15   - <dependentAssembly>
16   - <assemblyIdentity name="System.Reflection.TypeExtensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
17   - <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
18   - </dependentAssembly>
19   - <dependentAssembly>
20   - <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
21   - <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
22   - </dependentAssembly>
23   - <dependentAssembly>
24   - <assemblyIdentity name="System.Security.Principal.Windows" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
25   - <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
26   - </dependentAssembly>
27   - </assemblyBinding>
28   - </runtime>
  7 + <startup>
  8 + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  9 + </startup>
  10 + <appSettings>
  11 + <add key="VRH.XmlParser:root" value="XmlParser.xml" />
  12 + </appSettings>
  13 + <runtime>
  14 + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  15 + <dependentAssembly>
  16 + <assemblyIdentity name="System.Reflection.TypeExtensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  17 + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
  18 + </dependentAssembly>
  19 + <dependentAssembly>
  20 + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  21 + <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  22 + </dependentAssembly>
  23 + <dependentAssembly>
  24 + <assemblyIdentity name="System.Security.Principal.Windows" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  25 + <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  26 + </dependentAssembly>
  27 + </assemblyBinding>
  28 + </runtime>
29 29 <system.web>
30   - <membership configSource="system.web.membership.config" />
31   - <roleManager configSource="system.web.roleManager.config" />
  30 + <membership configSource="system.web.membership.config" />
  31 + <roleManager configSource="system.web.roleManager.config" />
32 32 </system.web>
33 33 <entityFramework>
34   - <providers>
35   - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
36   - </providers>
37   - </entityFramework>
38   -</configuration>
  34 + <providers>
  35 + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  36 + </providers>
  37 + </entityFramework>
  38 +</configuration>
39 39 \ No newline at end of file
... ...
Vrh.Log4Pro.MaintenanceConsole/Manager - BackupPackageManager.cs
... ... @@ -461,7 +461,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.BackupPackageManagerNS
461 461 {
462 462 public BackupFolder(XElement backupfolderxml)
463 463 {
464   - Xml_Path = GetValue(nameof(XmlStructure.BackupPackage.BackupFolder.Attributes.Path), backupfolderxml, XmlStructure.BackupPackage.BackupFolder.Attributes.Path.Values.DEFAULT);
  464 + Xml_Path = SpecialFolderNameSubstitution(GetValue(nameof(XmlStructure.BackupPackage.BackupFolder.Attributes.Path), backupfolderxml, XmlStructure.BackupPackage.BackupFolder.Attributes.Path.Values.DEFAULT));
465 465 Xml_Description = GetValue(nameof(XmlStructure.BackupPackage.BackupFolder.Attributes.Description), backupfolderxml, Xml_Path);
466 466 Xml_BackupToFile = GetValue(nameof(XmlStructure.BackupPackage.BackupFolder.Attributes.BackupToFile), backupfolderxml, "");
467 467 Xml_IncludeFileNameMask = GetValue(nameof(XmlStructure.BackupPackage.BackupFolder.Attributes.IncludeNameMask), backupfolderxml, XmlStructure.BackupPackage.BackupFolder.Attributes.IncludeNameMask.Values.DEFAULT);
... ... @@ -482,6 +482,34 @@ namespace Vrh.Log4Pro.MaintenanceConsole.BackupPackageManagerNS
482 482 public string Xml_IncludeFileNameMask;
483 483 public string Xml_IncludeFileFullPathRegex;
484 484 public bool FolderExists;
  485 +
  486 + private string SpecialFolderNameSubstitution(string path)
  487 + {
  488 + return path
  489 + .R(Environment.SpecialFolder.ApplicationData)// Current User's Application Data
  490 + .R(Environment.SpecialFolder.CommonApplicationData) // All User's Application Data
  491 + .R(Environment.SpecialFolder.CommonProgramFiles) // Program Files
  492 + .R(Environment.SpecialFolder.Cookies) // Internet Cookie
  493 + .R(Environment.SpecialFolder.Desktop) // Logical Desktop
  494 + .R(Environment.SpecialFolder.DesktopDirectory) // Physical Desktop
  495 + .R(Environment.SpecialFolder.Favorites) // Favorites
  496 + .R(Environment.SpecialFolder.History) // Internet History
  497 + .R(Environment.SpecialFolder.InternetCache) // Internet Cache
  498 + .R(Environment.SpecialFolder.MyComputer) // "My Computer" Folder
  499 + .R(Environment.SpecialFolder.MyDocuments) // "My Documents" Folder
  500 + .R(Environment.SpecialFolder.MyMusic) // "My Music" Folder
  501 + .R(Environment.SpecialFolder.MyPictures) // "My Pictures" Folder
  502 + .R(Environment.SpecialFolder.Personal) // "My Document" Folder
  503 + .R(Environment.SpecialFolder.ProgramFiles) // Program files Folder
  504 + .R(Environment.SpecialFolder.Programs) // Programs Folder
  505 + .R(Environment.SpecialFolder.Recent) // Recent Folder
  506 + .R(Environment.SpecialFolder.SendTo) // "Sent to" Folder
  507 + .R(Environment.SpecialFolder.StartMenu) // Start Menu
  508 + .R(Environment.SpecialFolder.Startup) // Startup
  509 + .R(Environment.SpecialFolder.System) // System Folder
  510 + .R(Environment.SpecialFolder.Templates) // Document Templates
  511 + ;
  512 + }
485 513 }
486 514 #endregion BackupFolder class
487 515 #region BackupSQLDataBase class
... ... @@ -509,5 +537,9 @@ namespace Vrh.Log4Pro.MaintenanceConsole.BackupPackageManagerNS
509 537 #endregion BackupSQLDataBase class
510 538  
511 539 }
  540 + public static class StringExtension
  541 + {
  542 + public static string R(this string s, Environment.SpecialFolder n) { return s.Replace("@" + n.ToString() + "@", Environment.GetFolderPath(n)); }
  543 + }
512 544 #endregion BackupPackage class
513 545 }
... ...
Vrh.Log4Pro.MaintenanceConsole/Manager - FileCleanerManager.cs
... ... @@ -213,7 +213,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.FileCleanerManagerNS
213 213 bool conditionresult = false;
214 214 if (c.Type == FolderToClean.ConditionType.TimeStampInName)
215 215 {
216   - var fileTSstr = VRH.Common.StringConstructor.ResolveConstructor<string>(groupnamevalues, c.TimestampConstructor, "{}@@");
  216 + var fileTSstr = VRH.Common.StringConstructor.ResolveConstructor(groupnamevalues, c.TimestampConstructor, "{}@@");
217 217  
218 218 try { var fileTS = DateTime.Parse(fileTSstr); conditionresult = DateTime.Now.Subtract(fileTS).TotalDays > c.Limit; }
219 219 catch
... ...
Vrh.Log4Pro.MaintenanceConsole/Manager - InstallManager.cs
... ... @@ -25,7 +25,7 @@ using System.Collections.ObjectModel;
25 25  
26 26 namespace Vrh.Log4Pro.MaintenanceConsole.InstallManagerNS
27 27 {
28   - #region MaintenanceTools class
  28 + #region InstallManager class
29 29 public static class InstallManager
30 30 {
31 31 private const string XMLCONNECTIONSTRING = "config=MAINTENANCECONSOLE_INSTALLMANAGER;";
... ... @@ -142,7 +142,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.InstallManagerNS
142 142  
143 143 #endregion First level Executors with UI
144 144 }
145   - #endregion MaintenanceTools class
  145 + #endregion InstallManager class
146 146  
147 147 #region InstallManagerXmlParser class
148 148 public class InstallManagerXmlParser: XmlParser
... ...
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.1.0.0")]
36   -[assembly: AssemblyFileVersion("1.1.0.0")]
  35 +[assembly: AssemblyVersion("1.2.0.0")]
  36 +[assembly: AssemblyFileVersion("1.2.0.0")]
... ...
Vrh.Log4Pro.MaintenanceConsole/Vrh.Log4Pro.MaintenanceConsole.csproj
... ... @@ -162,6 +162,8 @@
162 162 </Reference>
163 163 <Reference Include="Microsoft.Win32.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
164 164 <HintPath>..\packages\Microsoft.Win32.Primitives.4.0.1\lib\net46\Microsoft.Win32.Primitives.dll</HintPath>
  165 + <Private>True</Private>
  166 + <Private>True</Private>
165 167 </Reference>
166 168 <Reference Include="Microsoft.Win32.Registry, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
167 169 <HintPath>..\packages\Microsoft.Win32.Registry.4.0.0\lib\net46\Microsoft.Win32.Registry.dll</HintPath>
... ... @@ -170,8 +172,10 @@
170 172 <HintPath>..\packages\Newtonsoft.Json.11.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
171 173 </Reference>
172 174 <Reference Include="System" />
173   - <Reference Include="System.AppContext, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
174   - <HintPath>..\packages\System.AppContext.4.1.0\lib\net46\System.AppContext.dll</HintPath>
  175 + <Reference Include="System.AppContext, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  176 + <HintPath>..\packages\System.AppContext.4.1.0\lib\net463\System.AppContext.dll</HintPath>
  177 + <Private>True</Private>
  178 + <Private>True</Private>
175 179 </Reference>
176 180 <Reference Include="System.ComponentModel.Composition" />
177 181 <Reference Include="System.ComponentModel.DataAnnotations" />
... ... @@ -179,6 +183,8 @@
179 183 <Reference Include="System.Configuration.Install" />
180 184 <Reference Include="System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
181 185 <HintPath>..\packages\System.Console.4.0.0\lib\net46\System.Console.dll</HintPath>
  186 + <Private>True</Private>
  187 + <Private>True</Private>
182 188 </Reference>
183 189 <Reference Include="System.Core" />
184 190 <Reference Include="System.Data.Linq" />
... ... @@ -187,13 +193,19 @@
187 193 </Reference>
188 194 <Reference Include="System.Diagnostics.TraceSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
189 195 <HintPath>..\packages\System.Diagnostics.TraceSource.4.0.0\lib\net46\System.Diagnostics.TraceSource.dll</HintPath>
  196 + <Private>True</Private>
  197 + <Private>True</Private>
190 198 </Reference>
191 199 <Reference Include="System.Diagnostics.Tracing, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
192 200 <HintPath>..\packages\System.Diagnostics.Tracing.4.1.0\lib\net462\System.Diagnostics.Tracing.dll</HintPath>
  201 + <Private>True</Private>
  202 + <Private>True</Private>
193 203 </Reference>
194 204 <Reference Include="System.Drawing" />
195 205 <Reference Include="System.Globalization.Calendars, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
196 206 <HintPath>..\packages\System.Globalization.Calendars.4.0.1\lib\net46\System.Globalization.Calendars.dll</HintPath>
  207 + <Private>True</Private>
  208 + <Private>True</Private>
197 209 </Reference>
198 210 <Reference Include="System.IdentityModel" />
199 211 <Reference Include="System.IdentityModel.Tokens.Jwt, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
... ... @@ -201,19 +213,34 @@
201 213 </Reference>
202 214 <Reference Include="System.IO, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
203 215 <HintPath>..\packages\System.IO.4.1.0\lib\net462\System.IO.dll</HintPath>
  216 + <Private>True</Private>
  217 + <Private>True</Private>
204 218 </Reference>
205 219 <Reference Include="System.IO.Compression, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
206 220 <HintPath>..\packages\System.IO.Compression.4.1.0\lib\net46\System.IO.Compression.dll</HintPath>
  221 + <Private>True</Private>
  222 + <Private>True</Private>
207 223 </Reference>
208 224 <Reference Include="System.IO.Compression.FileSystem" />
209 225 <Reference Include="System.IO.Compression.ZipFile, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
210 226 <HintPath>..\packages\System.IO.Compression.ZipFile.4.0.1\lib\net46\System.IO.Compression.ZipFile.dll</HintPath>
  227 + <Private>True</Private>
  228 + <Private>True</Private>
211 229 </Reference>
212 230 <Reference Include="System.IO.FileSystem, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
213 231 <HintPath>..\packages\System.IO.FileSystem.4.0.1\lib\net46\System.IO.FileSystem.dll</HintPath>
  232 + <Private>True</Private>
  233 + <Private>True</Private>
214 234 </Reference>
215 235 <Reference Include="System.IO.FileSystem.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
216 236 <HintPath>..\packages\System.IO.FileSystem.Primitives.4.0.1\lib\net46\System.IO.FileSystem.Primitives.dll</HintPath>
  237 + <Private>True</Private>
  238 + <Private>True</Private>
  239 + </Reference>
  240 + <Reference Include="System.Linq, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  241 + <HintPath>..\packages\System.Linq.4.1.0\lib\net463\System.Linq.dll</HintPath>
  242 + <Private>True</Private>
  243 + <Private>True</Private>
217 244 </Reference>
218 245 <Reference Include="System.Linq.Expressions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
219 246 <HintPath>..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll</HintPath>
... ... @@ -224,43 +251,67 @@
224 251 <Reference Include="System.Messaging" />
225 252 <Reference Include="System.Net.Http, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
226 253 <HintPath>..\packages\System.Net.Http.4.1.0\lib\net46\System.Net.Http.dll</HintPath>
  254 + <Private>True</Private>
  255 + <Private>True</Private>
227 256 </Reference>
228 257 <Reference Include="System.Net.Sockets, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
229 258 <HintPath>..\packages\System.Net.Sockets.4.1.0\lib\net46\System.Net.Sockets.dll</HintPath>
  259 + <Private>True</Private>
  260 + <Private>True</Private>
230 261 </Reference>
231 262 <Reference Include="System.Numerics" />
232 263 <Reference Include="System.Reflection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
233 264 <HintPath>..\packages\System.Reflection.4.1.0\lib\net462\System.Reflection.dll</HintPath>
  265 + <Private>True</Private>
  266 + <Private>True</Private>
234 267 </Reference>
235 268 <Reference Include="System.Reflection.TypeExtensions, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
236 269 <HintPath>..\packages\System.Reflection.TypeExtensions.4.4.0\lib\net461\System.Reflection.TypeExtensions.dll</HintPath>
237 270 </Reference>
238 271 <Reference Include="System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
239 272 <HintPath>..\packages\System.Runtime.4.1.0\lib\net462\System.Runtime.dll</HintPath>
  273 + <Private>True</Private>
  274 + <Private>True</Private>
240 275 </Reference>
241 276 <Reference Include="System.Runtime.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
242 277 <HintPath>..\packages\System.Runtime.Extensions.4.1.0\lib\net462\System.Runtime.Extensions.dll</HintPath>
  278 + <Private>True</Private>
  279 + <Private>True</Private>
243 280 </Reference>
244 281 <Reference Include="System.Runtime.InteropServices, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
245 282 <HintPath>..\packages\System.Runtime.InteropServices.4.1.0\lib\net462\System.Runtime.InteropServices.dll</HintPath>
  283 + <Private>True</Private>
  284 + <Private>True</Private>
246 285 </Reference>
247 286 <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
248 287 <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
  288 + <Private>True</Private>
  289 + <Private>True</Private>
249 290 </Reference>
250 291 <Reference Include="System.Security.Claims, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
251 292 <HintPath>..\packages\System.Security.Claims.4.0.1\lib\net46\System.Security.Claims.dll</HintPath>
  293 + <Private>True</Private>
  294 + <Private>True</Private>
252 295 </Reference>
253   - <Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
254   - <HintPath>..\packages\System.Security.Cryptography.Algorithms.4.2.0\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
  296 + <Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  297 + <HintPath>..\packages\System.Security.Cryptography.Algorithms.4.2.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
  298 + <Private>True</Private>
  299 + <Private>True</Private>
255 300 </Reference>
256 301 <Reference Include="System.Security.Cryptography.Encoding, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
257 302 <HintPath>..\packages\System.Security.Cryptography.Encoding.4.0.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
  303 + <Private>True</Private>
  304 + <Private>True</Private>
258 305 </Reference>
259 306 <Reference Include="System.Security.Cryptography.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
260 307 <HintPath>..\packages\System.Security.Cryptography.Primitives.4.0.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
  308 + <Private>True</Private>
  309 + <Private>True</Private>
261 310 </Reference>
262 311 <Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
263 312 <HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.1.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
  313 + <Private>True</Private>
  314 + <Private>True</Private>
264 315 </Reference>
265 316 <Reference Include="System.Security.Principal.Windows, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
266 317 <HintPath>..\packages\System.Security.Principal.Windows.4.0.0\lib\net46\System.Security.Principal.Windows.dll</HintPath>
... ... @@ -269,6 +320,11 @@
269 320 <Reference Include="System.ServiceProcess.ServiceController, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
270 321 <HintPath>..\packages\System.ServiceProcess.ServiceController.4.1.0\lib\net461\System.ServiceProcess.ServiceController.dll</HintPath>
271 322 </Reference>
  323 + <Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  324 + <HintPath>..\packages\System.Text.RegularExpressions.4.1.0\lib\net463\System.Text.RegularExpressions.dll</HintPath>
  325 + <Private>True</Private>
  326 + <Private>True</Private>
  327 + </Reference>
272 328 <Reference Include="System.Web" />
273 329 <Reference Include="System.Web.ApplicationServices" />
274 330 <Reference Include="System.Web.Providers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
... ...
Vrh.Log4Pro.MaintenanceConsole/packages.config
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <packages>
3   - <package id="EntityFramework" version="6.4.4" targetFramework="net462" />
  3 + <package id="EntityFramework" version="6.4.4" targetFramework="net472" />
4 4 <package id="Microsoft.AspNet.Providers" version="2.0.0" targetFramework="net472" />
5 5 <package id="Microsoft.AspNet.Providers.Core" version="2.0.0" targetFramework="net472" />
6   - <package id="Microsoft.Data.SqlClient" version="2.0.0" targetFramework="net462" />
7   - <package id="Microsoft.Data.SqlClient.SNI" version="2.0.0" targetFramework="net462" />
8   - <package id="Microsoft.Identity.Client" version="4.14.0" targetFramework="net462" />
9   - <package id="Microsoft.IdentityModel.JsonWebTokens" version="5.6.0" targetFramework="net462" />
10   - <package id="Microsoft.IdentityModel.Logging" version="5.6.0" targetFramework="net462" />
11   - <package id="Microsoft.IdentityModel.Protocols" version="5.6.0" targetFramework="net462" />
12   - <package id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="5.6.0" targetFramework="net462" />
13   - <package id="Microsoft.IdentityModel.Tokens" version="5.6.0" targetFramework="net462" />
14   - <package id="Microsoft.NETCore.Platforms" version="1.0.1" targetFramework="net462" />
15   - <package id="Microsoft.SqlServer.Assessment" version="1.0.280" targetFramework="net462" />
16   - <package id="Microsoft.SqlServer.Assessment.Authoring" version="1.0.280" targetFramework="net462" />
17   - <package id="Microsoft.SqlServer.Management.SqlParser" version="160.20216.14" targetFramework="net462" />
18   - <package id="Microsoft.SqlServer.SqlManagementObjects" version="161.46041.41" targetFramework="net462" />
19   - <package id="Microsoft.Web.Administration" version="11.1.0" targetFramework="net462" />
20   - <package id="Microsoft.Win32.Primitives" version="4.0.1" targetFramework="net462" />
21   - <package id="Microsoft.Win32.Registry" version="4.0.0" targetFramework="net462" />
22   - <package id="NETStandard.Library" version="1.6.0" targetFramework="net462" />
23   - <package id="Newtonsoft.Json" version="11.0.1" targetFramework="net462" />
24   - <package id="System.AppContext" version="4.1.0" targetFramework="net462" requireReinstallation="true" />
25   - <package id="System.Collections" version="4.0.11" targetFramework="net462" />
26   - <package id="System.Collections.Concurrent" version="4.0.12" targetFramework="net462" />
27   - <package id="System.Console" version="4.0.0" targetFramework="net462" />
28   - <package id="System.Diagnostics.Debug" version="4.0.11" targetFramework="net462" />
29   - <package id="System.Diagnostics.DiagnosticSource" version="4.0.0" targetFramework="net462" />
30   - <package id="System.Diagnostics.Tools" version="4.0.1" targetFramework="net462" />
31   - <package id="System.Diagnostics.TraceSource" version="4.0.0" targetFramework="net462" />
32   - <package id="System.Diagnostics.Tracing" version="4.1.0" targetFramework="net462" />
33   - <package id="System.Globalization" version="4.0.11" targetFramework="net462" />
34   - <package id="System.Globalization.Calendars" version="4.0.1" targetFramework="net462" />
35   - <package id="System.IdentityModel.Tokens.Jwt" version="5.6.0" targetFramework="net462" />
36   - <package id="System.IO" version="4.1.0" targetFramework="net462" />
37   - <package id="System.IO.Compression" version="4.1.0" targetFramework="net462" />
38   - <package id="System.IO.Compression.ZipFile" version="4.0.1" targetFramework="net462" />
39   - <package id="System.IO.FileSystem" version="4.0.1" targetFramework="net462" />
40   - <package id="System.IO.FileSystem.Primitives" version="4.0.1" targetFramework="net462" />
41   - <package id="System.Linq" version="4.1.0" targetFramework="net462" requireReinstallation="true" />
  6 + <package id="Microsoft.Data.SqlClient" version="2.0.0" targetFramework="net472" />
  7 + <package id="Microsoft.Data.SqlClient.SNI" version="2.0.0" targetFramework="net472" />
  8 + <package id="Microsoft.Identity.Client" version="4.14.0" targetFramework="net472" />
  9 + <package id="Microsoft.IdentityModel.JsonWebTokens" version="5.6.0" targetFramework="net472" />
  10 + <package id="Microsoft.IdentityModel.Logging" version="5.6.0" targetFramework="net472" />
  11 + <package id="Microsoft.IdentityModel.Protocols" version="5.6.0" targetFramework="net472" />
  12 + <package id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="5.6.0" targetFramework="net472" />
  13 + <package id="Microsoft.IdentityModel.Tokens" version="5.6.0" targetFramework="net472" />
  14 + <package id="Microsoft.NETCore.Platforms" version="1.0.1" targetFramework="net472" />
  15 + <package id="Microsoft.SqlServer.Assessment" version="1.0.280" targetFramework="net472" />
  16 + <package id="Microsoft.SqlServer.Assessment.Authoring" version="1.0.280" targetFramework="net472" />
  17 + <package id="Microsoft.SqlServer.Management.SqlParser" version="160.20216.14" targetFramework="net472" />
  18 + <package id="Microsoft.SqlServer.SqlManagementObjects" version="161.46041.41" targetFramework="net472" />
  19 + <package id="Microsoft.Web.Administration" version="11.1.0" targetFramework="net472" />
  20 + <package id="Microsoft.Win32.Primitives" version="4.0.1" targetFramework="net472" />
  21 + <package id="Microsoft.Win32.Registry" version="4.0.0" targetFramework="net472" />
  22 + <package id="NETStandard.Library" version="1.6.0" targetFramework="net472" />
  23 + <package id="Newtonsoft.Json" version="11.0.1" targetFramework="net472" />
  24 + <package id="System.AppContext" version="4.1.0" targetFramework="net472" />
  25 + <package id="System.Collections" version="4.0.11" targetFramework="net472" />
  26 + <package id="System.Collections.Concurrent" version="4.0.12" targetFramework="net472" />
  27 + <package id="System.Console" version="4.0.0" targetFramework="net472" />
  28 + <package id="System.Diagnostics.Debug" version="4.0.11" targetFramework="net472" />
  29 + <package id="System.Diagnostics.DiagnosticSource" version="4.0.0" targetFramework="net472" />
  30 + <package id="System.Diagnostics.Tools" version="4.0.1" targetFramework="net472" />
  31 + <package id="System.Diagnostics.TraceSource" version="4.0.0" targetFramework="net472" />
  32 + <package id="System.Diagnostics.Tracing" version="4.1.0" targetFramework="net472" />
  33 + <package id="System.Globalization" version="4.0.11" targetFramework="net472" />
  34 + <package id="System.Globalization.Calendars" version="4.0.1" targetFramework="net472" />
  35 + <package id="System.IdentityModel.Tokens.Jwt" version="5.6.0" targetFramework="net472" />
  36 + <package id="System.IO" version="4.1.0" targetFramework="net472" />
  37 + <package id="System.IO.Compression" version="4.1.0" targetFramework="net472" />
  38 + <package id="System.IO.Compression.ZipFile" version="4.0.1" targetFramework="net472" />
  39 + <package id="System.IO.FileSystem" version="4.0.1" targetFramework="net472" />
  40 + <package id="System.IO.FileSystem.Primitives" version="4.0.1" targetFramework="net472" />
  41 + <package id="System.Linq" version="4.1.0" targetFramework="net472" />
42 42 <package id="System.Linq.Expressions" version="4.3.0" targetFramework="net472" />
43   - <package id="System.Management" version="5.0.0" targetFramework="net462" />
44   - <package id="System.Net.Http" version="4.1.0" targetFramework="net462" />
45   - <package id="System.Net.Primitives" version="4.0.11" targetFramework="net462" />
46   - <package id="System.Net.Sockets" version="4.1.0" targetFramework="net462" />
47   - <package id="System.ObjectModel" version="4.0.12" targetFramework="net462" />
48   - <package id="System.Reflection" version="4.1.0" targetFramework="net462" />
49   - <package id="System.Reflection.Extensions" version="4.0.1" targetFramework="net462" />
50   - <package id="System.Reflection.Primitives" version="4.0.1" targetFramework="net462" />
51   - <package id="System.Reflection.TypeExtensions" version="4.4.0" targetFramework="net462" />
52   - <package id="System.Resources.ResourceManager" version="4.0.1" targetFramework="net462" />
53   - <package id="System.Runtime" version="4.1.0" targetFramework="net462" />
54   - <package id="System.Runtime.Extensions" version="4.1.0" targetFramework="net462" />
55   - <package id="System.Runtime.Handles" version="4.0.1" targetFramework="net462" />
56   - <package id="System.Runtime.InteropServices" version="4.1.0" targetFramework="net462" />
57   - <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="net462" />
58   - <package id="System.Runtime.Numerics" version="4.0.1" targetFramework="net462" />
59   - <package id="System.Security.Claims" version="4.0.1" targetFramework="net462" />
60   - <package id="System.Security.Cryptography.Algorithms" version="4.2.0" targetFramework="net462" requireReinstallation="true" />
61   - <package id="System.Security.Cryptography.Encoding" version="4.0.0" targetFramework="net462" />
62   - <package id="System.Security.Cryptography.Primitives" version="4.0.0" targetFramework="net462" />
63   - <package id="System.Security.Cryptography.X509Certificates" version="4.1.0" targetFramework="net462" />
64   - <package id="System.Security.Principal.Windows" version="4.0.0" targetFramework="net462" />
65   - <package id="System.ServiceProcess.ServiceController" version="4.1.0" targetFramework="net462" />
66   - <package id="System.Text.Encoding" version="4.0.11" targetFramework="net462" />
67   - <package id="System.Text.Encoding.Extensions" version="4.0.11" targetFramework="net462" />
68   - <package id="System.Text.RegularExpressions" version="4.1.0" targetFramework="net462" requireReinstallation="true" />
69   - <package id="System.Threading" version="4.0.11" targetFramework="net462" />
70   - <package id="System.Threading.Tasks" version="4.0.11" targetFramework="net462" />
71   - <package id="System.Threading.Timer" version="4.0.1" targetFramework="net462" />
72   - <package id="System.Xml.ReaderWriter" version="4.0.11" targetFramework="net462" />
73   - <package id="System.Xml.XDocument" version="4.0.11" targetFramework="net462" />
  43 + <package id="System.Management" version="5.0.0" targetFramework="net472" />
  44 + <package id="System.Net.Http" version="4.1.0" targetFramework="net472" />
  45 + <package id="System.Net.Primitives" version="4.0.11" targetFramework="net472" />
  46 + <package id="System.Net.Sockets" version="4.1.0" targetFramework="net472" />
  47 + <package id="System.ObjectModel" version="4.0.12" targetFramework="net472" />
  48 + <package id="System.Reflection" version="4.1.0" targetFramework="net472" />
  49 + <package id="System.Reflection.Extensions" version="4.0.1" targetFramework="net472" />
  50 + <package id="System.Reflection.Primitives" version="4.0.1" targetFramework="net472" />
  51 + <package id="System.Reflection.TypeExtensions" version="4.4.0" targetFramework="net472" />
  52 + <package id="System.Resources.ResourceManager" version="4.0.1" targetFramework="net472" />
  53 + <package id="System.Runtime" version="4.1.0" targetFramework="net472" />
  54 + <package id="System.Runtime.Extensions" version="4.1.0" targetFramework="net472" />
  55 + <package id="System.Runtime.Handles" version="4.0.1" targetFramework="net472" />
  56 + <package id="System.Runtime.InteropServices" version="4.1.0" targetFramework="net472" />
  57 + <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="net472" />
  58 + <package id="System.Runtime.Numerics" version="4.0.1" targetFramework="net472" />
  59 + <package id="System.Security.Claims" version="4.0.1" targetFramework="net472" />
  60 + <package id="System.Security.Cryptography.Algorithms" version="4.2.0" targetFramework="net472" />
  61 + <package id="System.Security.Cryptography.Encoding" version="4.0.0" targetFramework="net472" />
  62 + <package id="System.Security.Cryptography.Primitives" version="4.0.0" targetFramework="net472" />
  63 + <package id="System.Security.Cryptography.X509Certificates" version="4.1.0" targetFramework="net472" />
  64 + <package id="System.Security.Principal.Windows" version="4.0.0" targetFramework="net472" />
  65 + <package id="System.ServiceProcess.ServiceController" version="4.1.0" targetFramework="net472" />
  66 + <package id="System.Text.Encoding" version="4.0.11" targetFramework="net472" />
  67 + <package id="System.Text.Encoding.Extensions" version="4.0.11" targetFramework="net472" />
  68 + <package id="System.Text.RegularExpressions" version="4.1.0" targetFramework="net472" />
  69 + <package id="System.Threading" version="4.0.11" targetFramework="net472" />
  70 + <package id="System.Threading.Tasks" version="4.0.11" targetFramework="net472" />
  71 + <package id="System.Threading.Timer" version="4.0.1" targetFramework="net472" />
  72 + <package id="System.Xml.ReaderWriter" version="4.0.11" targetFramework="net472" />
  73 + <package id="System.Xml.XDocument" version="4.0.11" targetFramework="net472" />
74 74 <package id="VRH.Common" version="2.20.1" targetFramework="net472" />
75 75 <package id="VRH.Web.Providers" version="2.0.2" targetFramework="net472" />
76 76 <package id="Vrh.XmlProcessing" version="1.26.1" targetFramework="net472" />
... ...