Публікація .NET Core у середовищі Linux як одного файлу для запуску помилки виглядає так:
Процес припинено. Не зміг знайти дійсний пакет ICU, встановлений на системі. Встановіть прапорець конфігурації System.Globalization.Invariant на true, якщо хочете працювати без підтримки глобалізації. на System.Environment.FailFast(System.String) на System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode() на System.Globalization.GlobalizationMode.. cctor() на System.Globalization.CultureData.CreateCultureWithInvariantData() на System.Globalization.CultureData.get_Invariant() на System.Globalization.CultureInfo.. cctor() на System.String.ToLowerInvariant() на System.Text.EncodingHelper.GetCharset() на System.Text.EncodingHelper.GetEncodingFromCharset() на System.ConsolePal.GetConsoleEncoding() на System.Console+<><get_OutputEncoding>c.b__19_0() at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]( System.__Canon ByRef, System.Object ByRef, System.Func'1<System.__Canon>) на System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__ Canon ByRef, System.Object ByRef, System.Func'1<System.__Canon>) на System.Console.get_OutputEncoding() на System.Console.CreateOutputWriter(System.IO.Stream) на System.Console+<><get_Out>c.b__26_0() at System.Threading.LazyInitializer.EnsureInitializedCore[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]( System.__Canon ByRef, System.Object ByRef, System.Func'1<System.__Canon>) на System.Threading.LazyInitializer.EnsureInitialized[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__ Canon ByRef, System.Object ByRef, System.Func'1<System.__Canon>) на System.Console.get_Out() на System.Console.WriteLine(System.String) на ImageWatermark.Program.Main(System.String[]) Скасовано Версія для Linux: CentOS Linux реліз 7.7.1908 (Core)
Рішення:
(Кінець)
|