diff --git a/PowerShellGitHubDev.psm1 b/PowerShellGitHubDev.psm1 index efaefad038..1e76fb3f01 100644 --- a/PowerShellGitHubDev.psm1 +++ b/PowerShellGitHubDev.psm1 @@ -374,6 +374,7 @@ function Start-PSBootstrap { sudo installer -pkg dotnet-dev-osx-x64.latest.pkg -target / } elseif ($IsWindows -And -Not $IsCore) { + Remove-Item -ErrorAction SilentlyContinue -Recurse -Force ~\AppData\Local\Microsoft\dotnet Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1 ./install.ps1