From 63ccd02eace6607e834d8d32a340e6dc5b99cba7 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sun, 4 Feb 2024 20:36:06 -0600 Subject: [PATCH] Add startup notice for .NET 8 upgrade --- Application/Main.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Application/Main.cs b/Application/Main.cs index 2edb79a2..bcded032 100644 --- a/Application/Main.cs +++ b/Application/Main.cs @@ -94,6 +94,15 @@ namespace IW4MAdmin.Application Console.WriteLine($" Version {Utilities.GetVersionAsString()}"); Console.WriteLine("====================================================="); + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("!!!! IMPORTANT !!!!"); + Console.WriteLine("The next update of IW4MAdmin will require .NET 8."); + Console.WriteLine("This is a breaking change!"); + Console.WriteLine( + "Please update the ASP.NET Core Runtime: https://dotnet.microsoft.com/en-us/download/dotnet/8.0"); + Console.WriteLine("!!!!!!!!!!!!!!!!!!!"); + Console.ForegroundColor = ConsoleColor.Gray; + await LaunchAsync(); }