-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add description and initial guidance for DOTNET_HOST_PATH usage #36383
Add description and initial guidance for DOTNET_HOST_PATH usage #36383
Conversation
|
@baronfel in the test repo we have the alg to find out correct dotnet muxer per architecture and per OS, using env vars(DOTNET_ROOT*), installation location(specific installation location for Windows/Mac) and default installation path https://github.com/microsoft/vstest/blob/main/src/Microsoft.TestPlatform.CoreUtilities/Helpers/DotnetHostHelper.cs#L121 |
clarify that this impacts subprocesses only, and is very focused on the .NET SDK, not a general mechanism
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @baronfel!
Co-authored-by: Rich Lander <rlander@microsoft.com>
Co-authored-by: Rich Lander <rlander@microsoft.com>
Summary
Based on conversations in dotnet/runtime#88754, dotnet/roslyn#69186, and other places, we need documentation about this environment variable and its purpose. This is a draft of that documentation - though we may also need a dedicated page for "How should I locate the correct
dotnet
binary?" for application developers.Internal previews