Skip to content

Conversation

@jjonescz
Copy link
Member

@jjonescz jjonescz commented Sep 24, 2025

Should fix problems when DOTNET_ROOT_<arch> or DOTNET_ROOT(x86) var is set from the outside and the apphost would use those instead of the DOTNET_ROOT var we set.

For example, in NuGet.Client CI: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1156878&view=logs&j=f105d2c8-32d0-5cff-b114-87cf330929dd&t=f92a2093-7359-5d67-e113-8e3692a1dec4&l=94441

Follow up on #80026.

Validated manually (built roslyn+sdk locally, used that sdk with a repro case).

@jjonescz jjonescz changed the base branch from release/dev18.0 to main September 29, 2025 11:49
@jjonescz jjonescz changed the base branch from main to release/dev18.0 September 29, 2025 11:49
@jjonescz
Copy link
Member Author

/backport to main

@github-actions
Copy link
Contributor

Started backporting to main: https://github.com/dotnet/roslyn/actions/runs/18095950566

@jjonescz
Copy link
Member Author

This was merged into the VMR directly: dotnet/dotnet#2585
Which then flew into Roslyn: #80489

@jjonescz jjonescz closed this Sep 29, 2025
@jjonescz jjonescz deleted the dotnet-root-arch branch September 29, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant