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

Add ApplyDotNetSdkEnvironmentVariables for custom MSBuild path(s) #283

Closed YuliiaKovalova closed 4 months ago

YuliiaKovalova commented 4 months ago

Fixes

https://github.com/microsoft/MSBuildLocator/issues/276

If custom msbuild path specified, the setting of required environment variables wasn't set. This PR addresses it.