diff --git a/refs/runtime/msvcp140.dll b/refs/runtime/msvcp140.dll new file mode 100644 index 000000000..7bdaa7e32 Binary files /dev/null and b/refs/runtime/msvcp140.dll differ diff --git a/refs/runtime/msvcp140_1.dll b/refs/runtime/msvcp140_1.dll new file mode 100644 index 000000000..f5b7a3e1c Binary files /dev/null and b/refs/runtime/msvcp140_1.dll differ diff --git a/refs/runtime/msvcp140_2.dll b/refs/runtime/msvcp140_2.dll new file mode 100644 index 000000000..77a169d23 Binary files /dev/null and b/refs/runtime/msvcp140_2.dll differ diff --git a/refs/runtime/vcruntime140.dll b/refs/runtime/vcruntime140.dll new file mode 100644 index 000000000..373180cc1 Binary files /dev/null and b/refs/runtime/vcruntime140.dll differ diff --git a/refs/runtime/vcruntime140_1.dll b/refs/runtime/vcruntime140_1.dll new file mode 100644 index 000000000..1557fc164 Binary files /dev/null and b/refs/runtime/vcruntime140_1.dll differ diff --git a/src/BinSkim.Driver/BinSkim.Driver.csproj b/src/BinSkim.Driver/BinSkim.Driver.csproj index d4c93e4e3..33ae2a7cd 100644 --- a/src/BinSkim.Driver/BinSkim.Driver.csproj +++ b/src/BinSkim.Driver/BinSkim.Driver.csproj @@ -71,12 +71,17 @@ + + + + + diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index 3274e5cfa..c84a4b4c9 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -6,6 +6,7 @@ * BUGFIX: Fix exception `System.AccessViolationException` caused by trying to read data out of boundary. [#470](https://github.com/microsoft/binskim/pull/470) * BUGFIX: Fix exception handling when PDB cannot be loaded by `IDiaDataSource`. [#461](https://github.com/microsoft/binskim/pull/461) * BREAKING: PDB exceptions will be reported once per target. [#465](https://github.com/microsoft/binskim/pull/465) +* BUGFIX: Include C++ runtime in the package to prevent `DllNotFoundException` when loading `msdia140.dll`. [#474](https://github.com/microsoft/binskim/pull/474) ## **v1.9.0-prerelease1** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.9.0-prerelease1)