diff --git a/activate.ps1 b/activate.ps1 index bc6f326e8b78874e4e071c772ea1db40a60c6229..b1e0e8f5a199de61afeaf5da6bc0cf1398723528 100644 --- a/activate.ps1 +++ b/activate.ps1 @@ -25,6 +25,7 @@ function deactivate ([switch]$init) { } Remove-Item env:DOTNET_ROOT -ea ignore + Remove-Item 'env:DOTNET_ROOT(x86)' -ea Ignore Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore if (-not $init) { # Remove the deactivate function