diff --git a/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs b/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs index 61d0e99ff81272ed84bd57436d3462920267f22b..073bf861aad03b53f80cc9931986eb1fca0264d6 100644 --- a/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs +++ b/src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs @@ -92,7 +92,7 @@ bool ShouldEmbed(string fileRelativePath) return false; } - if (Path.GetExtension(fileRelativePath).ToLower().Equals(".pdb")) + if (Path.GetExtension(fileRelativePath).ToLowerInvariant().Equals(".pdb")) { return EmbedPDBs; }