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
216 stars 83 forks source link

Don't block Locator operations on non-critical assemblies #102

Closed rainersigwald closed 3 years ago

rainersigwald commented 3 years ago

Having System.Runtime.CompilerServices.Unsafe and System.Numerics.Vector in the array makes the locator say that MSBuild assemblies are already loaded if any of these two, completely unrelated, assemblies are loaded in the process.

I'd rather not see a build with this change.

Originally posted by @powercode in https://github.com/microsoft/MSBuildLocator/pull/94#issuecomment-726159241

rainersigwald commented 3 years ago

More info in #102

rainersigwald commented 3 years ago

Duplicate of #103