티스토리 뷰

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

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.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CultureInfo.get_CurrentUICulture()
   at System.TimeZoneInfo..ctor(Byte[], System.String, Boolean)
   at System.TimeZoneInfo.GetTimeZoneFromTzData(Byte[], System.String)
   at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile()
   at System.TimeZoneInfo+CachedData.CreateLocal()
   at System.DateTime.get_Now()
   at Microsoft.DotNet.Cli.Program.Main(System.String[])

 

문화권별 처리를 고정하여 해결할 수 있다.

방법은 여러가지, 난 아무것도 수정하지 않고 빠르게 적용되길 원했기에,

.bashrc 에 환경변수를 설정하여 해결했다.

export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

 

나머지 방법은 아래 문서에서 확인할 수 있다.

https://docs.microsoft.com/ko-kr/dotnet/core/run-time-config/globalization

 

[작성] devbible.tistory.com

댓글
댓글쓰기 폼