diff --git a/MN.L10n/CodeCompilerModule.cs b/MN.L10n/CodeCompilerModule.cs index f0f33f8..62841f6 100644 --- a/MN.L10n/CodeCompilerModule.cs +++ b/MN.L10n/CodeCompilerModule.cs @@ -22,7 +22,7 @@ public void BeforeCompile(BeforeCompileContext context) bool isBuildEnvironment = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("is_build_environment")); var runPhrase = false; - //try { runPhrase = context.Arguments.CompilationOptions.OptimizationLevel == OptimizationLevel.Debug; } catch { } + try { runPhrase = context.Arguments.CompilationOptions.OptimizationLevel == OptimizationLevel.Release; } catch { } if (!runPhrase) return; Debugger.Break(); Stopwatch stw = new Stopwatch(); diff --git a/MN.L10n/MN.L10n.csproj b/MN.L10n/MN.L10n.csproj index 2d0906e..be7a1f4 100644 --- a/MN.L10n/MN.L10n.csproj +++ b/MN.L10n/MN.L10n.csproj @@ -12,7 +12,7 @@ Translation package https://github.com/MultinetInteractive/MN.L10n git © 20XX MultiNet Interactive AB - 1.0.76 + 1.0.77 True