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

Only look in extra NuGet directory from VS install #118

Closed Forgind closed 3 years ago

Forgind commented 3 years ago

I neglected to test the RegisterMSBuildPath to a not-VS location scenario, and it can fail. This should fix it.