diff --git a/src/libraries/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs b/src/libraries/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs index 7d91ed4713a1fa70da4adb1a97ab010fdc839354..0149463c6aa0eba2c97b758a0e0dee097f17bf29 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs @@ -25,8 +25,11 @@ private static bool GetGlobalizationInvariantMode() int loaded = Interop.Globalization.LoadICU(); if (loaded == 0 && !OperatingSystem.IsBrowser()) { + // This can't go into resources, because a resource lookup requires globalization, which requires ICU string message = "Couldn't find a valid ICU package installed on the system. " + - "Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support."; + "Please install libicu using your package manager and try again. " + + "Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. " + + "Please see https://aka.ms/dotnet-missing-libicu for more information."; Environment.FailFast(message); }