From d9fb54071a56ee158b2a4b2fdc286b3bcfaa5ebc Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 14:55:43 +0100 Subject: [PATCH] Modernize Windows.vbproj to SDK style and migrate packages Converted Windows.vbproj from the legacy format to the modern SDK-style project targeting net8.0-windows, enabling Windows Forms and WPF support. Replaced direct assembly references and the packages.config file with PackageReference entries for DigitalData.Modules.Logging, NLog, and NuGet.CommandLine. Cleaned up redundant property groups and imports, and updated item groups to use the new format. Removed packages.config as dependencies are now managed via the project file. --- Windows/Windows.vbproj | 119 ++++++---------------------------------- Windows/packages.config | 6 -- 2 files changed, 17 insertions(+), 108 deletions(-) delete mode 100644 Windows/packages.config diff --git a/Windows/Windows.vbproj b/Windows/Windows.vbproj index eaa73b43..e32c7478 100644 --- a/Windows/Windows.vbproj +++ b/Windows/Windows.vbproj @@ -1,146 +1,65 @@ - - - + - Debug - AnyCPU - {5EFAEF9B-90B9-4F05-9F70-F79AD77FFF86} + net8.0-windows Library DigitalData.Modules.Windows DigitalData.Modules.Windows - 512 Windows - v4.6.2 - + true + true + true + enable + Text + powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }" - true - full - true - true - bin\Debug\ DigitalData.Modules.Windows.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - pdbonly false - true - true - bin\Release\ DigitalData.Modules.Windows.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - On - - - Text - - - Off - - - On - - - ..\packages\DigitalData.Modules.Logging.2.6.5\lib\net462\DigitalData.Modules.Logging.dll - - - ..\packages\NLog.5.0.5\lib\net46\NLog.dll - - - - - - - - - - - - + + + - - - - - - - - - - - - - + frmPopup.vb - - Form - - - - - - - - - - - - + True Application.myapp True - + True True Resources.resx - + True Settings.settings True - - frmPopup.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - + MyApplicationCodeGenerator Application.Designer.vb - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - {6ea0c51f-c2b1-4462-8198-3de0b32b74f8} - Base - + @@ -171,8 +90,4 @@ True - - - powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }" - \ No newline at end of file diff --git a/Windows/packages.config b/Windows/packages.config deleted file mode 100644 index e25334c4..00000000 --- a/Windows/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file