diff --git a/CoreCLR.Build.cs b/CoreCLR.Build.cs index c1e1b20..cd50f07 100644 --- a/CoreCLR.Build.cs +++ b/CoreCLR.Build.cs @@ -23,8 +23,11 @@ public class CoreCLR : ModuleRules $"DOTNET_PATCH_VERSION={PatchVersion}" }); - var bIsDebug = Target.Configuration == UnrealTargetConfiguration.Debug || - Target.Configuration == UnrealTargetConfiguration.DebugGame; + var bUseRelease = true; + + var bIsDebug = !bUseRelease && + (Target.Configuration == UnrealTargetConfiguration.Debug || + Target.Configuration == UnrealTargetConfiguration.DebugGame); var CoreCLRConfiguration = bIsDebug ? "Debug" : "Release";