Skip to content

Commit 34b9844

Browse files
committed
Fix dotnet uninstall on windows
1 parent c376260 commit 34b9844

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/scripts/uninstall-dotnet-windows.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ $url = $asset.browser_download_url
55
Invoke-WebRequest -Uri $url -OutFile $(Split-Path $url -Leaf)
66

77
# Prepare uninstall tool
8-
$pwd = (Get-Location).Path
98
msiexec.exe /A dotnet-core-uninstall.msi TARGETDIR=$pwd /QN /L*V log.txt
10-
$uninstallToolPath = Join-Path $pwd "dotnet-core-uninstall\dotnet-core-uninstall-tool.exe"
9+
$uninstallToolPath = Join-Path $pwd "dotnet-core-uninstall\dotnet-core-uninstall.exe"
1110

1211
# Perform uninstall
1312
& $uninstallToolPath remove --all

0 commit comments

Comments
 (0)