Skip to content
代码片段 群组 项目
未验证 提交 6bdb0c68 编辑于 作者: github-actions[bot]'s avatar github-actions[bot] 提交者: GitHub
浏览文件

Make `deactivate` clean x86 root (#36759)


- backport of #36717 to release/6.0

Co-authored-by: default avatarDoug Bunting <6431421+dougbu@users.noreply.github.com>
上级 2063967c
No related branches found
No related tags found
无相关合并请求
...@@ -25,6 +25,7 @@ function deactivate ([switch]$init) { ...@@ -25,6 +25,7 @@ function deactivate ([switch]$init) {
} }
Remove-Item env:DOTNET_ROOT -ea ignore Remove-Item env:DOTNET_ROOT -ea ignore
Remove-Item 'env:DOTNET_ROOT(x86)' -ea Ignore
Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore
if (-not $init) { if (-not $init) {
# Remove the deactivate function # Remove the deactivate function
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册