From 63ed7de1e74c9fe37ca97523889acbc40b5d17d1 Mon Sep 17 00:00:00 2001 From: Brian Lima Date: Sun, 4 Sep 2022 13:07:09 -0300 Subject: [PATCH] Update broken dependencies, update to net 4.8 - Upgrade to .net 4.8 - Move System.Management.Automation from Powershell to system's - The older System.Management.Automation hass been deprecated for legacy .Net apps, so I have to either port UWPHook to .net core or use another legacy focused powershell package, not in the mood for either right now, this can be located at C:\Windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll - Add System.Net.HTTP.formatting - Migrate to PackageReference --- UWPHook/App.config | 2 +- UWPHook/Properties/Resources.Designer.cs | 2 +- UWPHook/Properties/Settings.Designer.cs | 2 +- UWPHook/SettingsWindow.xaml | 1 - UWPHook/SettingsWindow.xaml.cs | 16 +++---- UWPHook/UWPHook.csproj | 55 +++++++++--------------- UWPHook/packages.config | 10 ----- 7 files changed, 32 insertions(+), 56 deletions(-) delete mode 100644 UWPHook/packages.config diff --git a/UWPHook/App.config b/UWPHook/App.config index 1bfdf65..ff69ab4 100644 --- a/UWPHook/App.config +++ b/UWPHook/App.config @@ -6,7 +6,7 @@ - + diff --git a/UWPHook/Properties/Resources.Designer.cs b/UWPHook/Properties/Resources.Designer.cs index 236c6b6..3f7a69f 100644 --- a/UWPHook/Properties/Resources.Designer.cs +++ b/UWPHook/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace UWPHook.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Resources { diff --git a/UWPHook/Properties/Settings.Designer.cs b/UWPHook/Properties/Settings.Designer.cs index fb34c2c..3ddee72 100644 --- a/UWPHook/Properties/Settings.Designer.cs +++ b/UWPHook/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace UWPHook.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")] public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/UWPHook/SettingsWindow.xaml b/UWPHook/SettingsWindow.xaml index d1fe0dc..b624cd0 100644 --- a/UWPHook/SettingsWindow.xaml +++ b/UWPHook/SettingsWindow.xaml @@ -92,7 +92,6 @@