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
221 stars 86 forks source link

Add ApplyDotNetSdkEnvironmentVariables for custom MSBuild path(s) #283

Closed YuliiaKovalova closed 8 months ago

YuliiaKovalova commented 9 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.