未验证 提交 a227f005 编写于 作者: D Dan Moseley 提交者: GitHub

Improve msg for missing libicu (#47511)

* Improve msg for missing libicu

* add comment

* add aka.ms

* better link
上级 a9836c89
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册