{"id":191,"date":"2022-03-14T20:47:17","date_gmt":"2022-03-14T20:47:17","guid":{"rendered":"https:\/\/wp.sheepchen.net\/?p=191"},"modified":"2022-03-14T20:47:17","modified_gmt":"2022-03-14T20:47:17","slug":"c-net-5-process-terminated-couldnt-find-a-valid-icu-package-installed-on-the-system","status":"publish","type":"post","link":"https:\/\/wp.sheepchen.net\/?p=191","title":{"rendered":"C# Net 5 Process terminated. Couldn&#8217;t find a valid ICU package installed on the system"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Program compiled with net 5 as single file for linux.<br>You get this error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Process terminated. 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.\n   at System.Environment.FailFast(System.String)\n   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()\n   at System.Globalization.GlobalizationMode..cctor()\n   at System.Globalization.CultureData.CreateCultureWithInvariantData()\n   at System.Globalization.CultureData.get_Invariant()\n   at System.Globalization.TextInfo..cctor()\n   at System.Text.EncodingHelper.GetCharset()\n   at System.Text.EncodingHelper.GetEncodingFromCharset()\n   at System.ConsolePal.GetConsoleEncoding()\n   at System.ConsolePal.get_OutputEncoding()\n   at System.Console.get_OutputEncoding()\n   at System.Console.CreateOutputWriter(System.IO.Stream)\n   at System.Console.&lt;get_Out>g__EnsureInitialized|25_0()\n   at System.Console.get_Out()\n   at System.Console.WriteLine(System.String)\n &#91;...]\nAbgebrochen (Speicherabzug geschrieben)\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This fixed it for me:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Program compiled with net 5 as single file for linux.You get this error: This fixed it for me:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":1,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.sheepchen.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}