From 4d7d7c041a5f6d1d4750b98cc139949be0aba25c Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Thu, 25 Sep 2025 14:37:42 -0400 Subject: [PATCH] Update to .NET 9 --- Application/FeedCenter.csproj | 28 +++++++++---------- Application/MainWindow/WindowHandler.cs | 2 +- Application/Properties/AssemblyInfo.cs | 5 ++-- .../Properties/PublishProfiles/x64.pubxml | 4 +-- Installer/Bootstrapper/Bundle.wxs | 2 +- Installer/Setup/Product.wxs | 2 +- 6 files changed, 22 insertions(+), 21 deletions(-) diff --git a/Application/FeedCenter.csproj b/Application/FeedCenter.csproj index 12fa7a3..71a0a75 100644 --- a/Application/FeedCenter.csproj +++ b/Application/FeedCenter.csproj @@ -1,6 +1,6 @@  - net8.0-windows7.0 + net9.0-windows8.0 WinExe false false @@ -30,30 +30,30 @@ - + - - - - - - + + + + + + NU1701 - - + + NU1701 - - - - + + + + diff --git a/Application/MainWindow/WindowHandler.cs b/Application/MainWindow/WindowHandler.cs index 76f23db..1f3e961 100644 --- a/Application/MainWindow/WindowHandler.cs +++ b/Application/MainWindow/WindowHandler.cs @@ -96,7 +96,7 @@ public partial class MainWindow NotificationIcon.Dispose(); } - private readonly DebounceDispatcher _updateWindowSettingsDispatcher = new(500); + private readonly DebounceDispatcher _updateWindowSettingsDispatcher = new(TimeSpan.FromMilliseconds(500)); private void HandleWindowSizeChanged(object sender, SizeChangedEventArgs e) { diff --git a/Application/Properties/AssemblyInfo.cs b/Application/Properties/AssemblyInfo.cs index ff7a8db..7be0716 100644 --- a/Application/Properties/AssemblyInfo.cs +++ b/Application/Properties/AssemblyInfo.cs @@ -8,11 +8,12 @@ using System.Windows; [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("Chris Kaczor")] [assembly: AssemblyProduct("Feed Center")] -[assembly: AssemblyCopyright("Copyright © Chris Kaczor 2023")] +[assembly: AssemblyCopyright("Copyright © Chris Kaczor 2025")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: SupportedOSPlatform("windows")] +[assembly: TargetPlatform("Windows10.0")] +[assembly: SupportedOSPlatform("Windows10.0")] #if DEBUG [assembly: AssemblyConfiguration("Debug build")] diff --git a/Application/Properties/PublishProfiles/x64.pubxml b/Application/Properties/PublishProfiles/x64.pubxml index 5e3227f..cbc38c7 100644 --- a/Application/Properties/PublishProfiles/x64.pubxml +++ b/Application/Properties/PublishProfiles/x64.pubxml @@ -4,10 +4,10 @@ Release Any CPU - bin\Release\net8.0-windows7.0\publish\win-x64\ + bin\Release\publish\ FileSystem <_TargetId>Folder - net8.0-windows7.0 + net9.0-windows8.0 win-x64 true true diff --git a/Installer/Bootstrapper/Bundle.wxs b/Installer/Bootstrapper/Bundle.wxs index 78cf874..11d6ce4 100644 --- a/Installer/Bootstrapper/Bundle.wxs +++ b/Installer/Bootstrapper/Bundle.wxs @@ -6,7 +6,7 @@ - + diff --git a/Installer/Setup/Product.wxs b/Installer/Setup/Product.wxs index 9498489..5875ebd 100644 --- a/Installer/Setup/Product.wxs +++ b/Installer/Setup/Product.wxs @@ -6,7 +6,7 @@ - +