HostModel: Bundler: Use invariant culture when normalizing file extension (dotnet...
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Wed, 16 Oct 2019 19:40:59 +0000 (12:40 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Oct 2019 19:40:59 +0000 (12:40 -0700)
commit5f914e3765148316c418b0bd47d9440eab7a888a
treefa90c86bcc683b84077f21b2db4dd92e9fdb83cf
parent234535849813457625065fd0527a34f26d69a843
HostModel: Bundler: Use invariant culture when normalizing file extension (dotnet/core-setup#8551)

The Bundler excludes PDB files by default. When looking for PDB files,
the extension is normalized by using ToLower().
This change fixes the issue to use invariant culture instead.

Commit migrated from https://github.com/dotnet/core-setup/commit/f0fc0c8ef513051e7b7d8d58b375f0d87fa543f9
src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs