diff --git a/lib/CoreCLR/boot.cpp b/lib/CoreCLR/boot.cpp index 2d00c1aa6..d6fc0f604 100644 --- a/lib/CoreCLR/boot.cpp +++ b/lib/CoreCLR/boot.cpp @@ -36,6 +36,7 @@ int InitializeClrAndGetEntryPoint( SetEnvironmentVariable(L"DOTNET_MULTILEVEL_LOOKUP", L"0"); //SetEnvironmentVariable(L"COMPlus_legacyCorruptedStateExceptionsPolicy", L"1"); SetEnvironmentVariable(L"DOTNET_legacyCorruptedStateExceptionsPolicy", L"1"); + SetEnvironmentVariable(L"COMPLUS_ForceENC", L"1"); wchar_t* dotnet_path; wchar_t* _appdata;