diff --git a/src/chocolatey/infrastructure.app/services/PowershellService.cs b/src/chocolatey/infrastructure.app/services/PowershellService.cs index 966328342e..ba9c0a0d3d 100644 --- a/src/chocolatey/infrastructure.app/services/PowershellService.cs +++ b/src/chocolatey/infrastructure.app/services/PowershellService.cs @@ -513,6 +513,11 @@ private System.Reflection.Assembly attempt_version_load(AssemblyName requestedAs requestedAssembly.Version = version; + if (requestedAssembly.Name.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) && requestedAssembly.CultureInfo.Name.is_equal_to("en-US")) + { + return null; + } + try { return System.Reflection.Assembly.Load(requestedAssembly);