-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/7.0-staging] dotnet.exe prints error messages to console when launched with empty DOTNET_MULTILEVEL_LOOKUP #87734
[release/7.0-staging] dotnet.exe prints error messages to console when launched with empty DOTNET_MULTILEVEL_LOOKUP #87734
Conversation
…DOTNET_MULTILEVEL_LOOKUP
Co-authored-by: Vitek Karas <10670590+vitek-karas@users.noreply.github.com>
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue DetailsBackport of #84322 to release/7.0-staging /cc @agocke @pedrobsaila Customer ImpactTestingRiskIMPORTANT: If this backport is for a servicing release, please verify that:
|
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.
approved. we will take for consideration in 7.0.x
Test failure is unrelated. |
Backport of #84322 to release/7.0-staging
/cc @agocke @pedrobsaila
Customer Impact
The host has a bug where it prints an error,
Failed to read environment variable [DOTNET_MULTILEVEL_LOOKUP], HRESULT: 0x800700CB
ifDOTNET_MULTILEVEL_LOOKUP
is an empty string. We've gotten feedback that this is pretty confusing for users.This fix silences the message.
Note: Not a regression. We think some tool just started setting this more frequently.
Testing
Unit testing, and this change has been in main since April.
Risk
Isolated change, simple
if
statement.