microsoft / MSBuildLocator

An API to locate MSBuild assemblies from an installed Visual Studio location. Use this to ensure that calling the MSBuild API will use the same toolset that a build from Visual Studio or msbuild.exe would.
Other
218 stars 83 forks source link

Add binding redirects for the sample #99

Closed rainersigwald closed 3 years ago

rainersigwald commented 3 years ago

Consumers of the package get automatic binding redirects for MSBuild assemblies, but the sample wasn't getting that behavior. Import the build logic as though from the package.

This was breaking a .NET 5.0 project on my machine.