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 setting "DOTNET_HOST_PATH" to environment variables #235

Closed YuliiaKovalova closed 10 months ago

YuliiaKovalova commented 10 months ago

Fixes: https://github.com/microsoft/MSBuildLocator/issues/229

Background: SDK sets DOTNET_HOST_PATH before launching app - incl MSBuild.exe When using custom apphost - this won't be set. So MSBuildLocator should set this to have that variable available in MSBuild