From 3b5137cb46ccbe25fe9847b77046435890f06b6b Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 12:54:57 +0100 Subject: [PATCH] Modernize Logging.vbproj to SDK style and update NLog ref Converted Logging.vbproj to the SDK-style project format targeting .NET 8.0, replacing explicit assembly references and legacy configuration with simplified SDK properties. NLog is now referenced via a PackageReference instead of packages.config, which has been deleted. Unnecessary imports, references, and compile/include entries were removed or updated for compatibility with the new project structure. The post-build event is retained. --- Logging/Logging.vbproj | 79 ++++++----------------------------------- Logging/packages.config | 4 --- 2 files changed, 11 insertions(+), 72 deletions(-) delete mode 100644 Logging/packages.config diff --git a/Logging/Logging.vbproj b/Logging/Logging.vbproj index b818b62b..82c94ed6 100644 --- a/Logging/Logging.vbproj +++ b/Logging/Logging.vbproj @@ -1,102 +1,50 @@ - - - + - Debug - AnyCPU - {903B2D7D-3B80-4BE9-8713-7447B704E1B0} + net8.0 Library DigitalData.Modules.Logging DigitalData.Modules.Logging - 512 Windows - v4.6.2 - + enable + powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }" - true - full - true - true - bin\Debug\ DigitalData.Modules.Logging.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - pdbonly false - true - true - bin\Release\ DigitalData.Modules.Logging.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - On - - - Binary - - - Off - - - On - - - ..\packages\NLog.5.0.5\lib\net46\NLog.dll - - - - - - - - - - - - - - - - - - - + - - - - - - + True Application.myapp True - + True True Resources.resx - + True Settings.settings True - - + VbMyResourcesResXFileCodeGenerator Resources.Designer.vb My.Resources @@ -104,19 +52,14 @@ - + MyApplicationCodeGenerator Application.Designer.vb - + SettingsSingleFileGenerator My Settings.Designer.vb - - - - powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }" - \ No newline at end of file diff --git a/Logging/packages.config b/Logging/packages.config deleted file mode 100644 index 37cb9210..00000000 --- a/Logging/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file