Skip to content

Commit 6bdb0c6

Browse files
Make deactivate clean x86 root (#36759)
- backport of #36717 to release/6.0 Co-authored-by: Doug Bunting <[email protected]>
1 parent 2063967 commit 6bdb0c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function deactivate ([switch]$init) {
2525
}
2626

2727
Remove-Item env:DOTNET_ROOT -ea ignore
28+
Remove-Item 'env:DOTNET_ROOT(x86)' -ea Ignore
2829
Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore
2930
if (-not $init) {
3031
# Remove the deactivate function

0 commit comments

Comments
 (0)