Fix build
This commit is contained in:
@@ -1514,7 +1514,7 @@ bool InitHostfxr()
|
|||||||
String dotnetRootEnvVar;
|
String dotnetRootEnvVar;
|
||||||
if (!Platform::GetEnvironmentVariable(TEXT("DOTNET_ROOT"), dotnetRootEnvVar) && FileSystem::DirectoryExists(dotnetRootEnvVar))
|
if (!Platform::GetEnvironmentVariable(TEXT("DOTNET_ROOT"), dotnetRootEnvVar) && FileSystem::DirectoryExists(dotnetRootEnvVar))
|
||||||
{
|
{
|
||||||
dotnetRoot = dotnetRootEnvVar;
|
dotnetRoot = FLAX_CORECLR_STRING(dotnetRootEnvVar);
|
||||||
get_hostfxr_params.dotnet_root = dotnetRoot.Get();
|
get_hostfxr_params.dotnet_root = dotnetRoot.Get();
|
||||||
}
|
}
|
||||||
#if !USE_EDITOR
|
#if !USE_EDITOR
|
||||||
|
|||||||
Reference in New Issue
Block a user