From f3146a25cdab041a22d5a9c6986f9371dba91468 Mon Sep 17 00:00:00 2001 From: BDisp Date: Thu, 1 Aug 2024 10:47:31 +0100 Subject: [PATCH] Re-add assertions to ensure it's working running the executable file. --- SelfContained/Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SelfContained/Program.cs b/SelfContained/Program.cs index b9a325cbc..ef5d838ed 100644 --- a/SelfContained/Program.cs +++ b/SelfContained/Program.cs @@ -21,6 +21,11 @@ public static class Program // Only happens if the project has true Debug.Assert (Application.SupportedCultures.Count == 0); } + else + { + Debug.Assert (Application.SupportedCultures.Count > 0); + Debug.Assert (Equals (CultureInfo.CurrentCulture, Thread.CurrentThread.CurrentUICulture)); + } #endregion