- Start admin powershell
run-paket.ps1
for expected behaviourclear-nugetCaches.ps1
to clear all existing caches.setup-alternateCacheLocations.ps1
for NUGET_PACKAGES- Close current powershell and Start new admin powershell. (this is necessary to expose the problem)
run-paket.ps1
yields (error at the end):
http-cache: C:\_cache\_nugetHttp
global-packages: C:\_cache\_nuget
temp: C:\Users\se-danhegn-01\AppData\Local\Temp\NuGetScratch
plugins-cache: C:\Users\se-danhegn-01\AppData\Local\NuGet\plugins-cache
Tool 'paket' (version '5.243.0') was restored. Available commands: paket
Restore was successful.
Run "dotnet tool restore" to make the "paket" command available.
to restore your machine:
clean-nugetCaches.ps1
remove-alternateCacheLocations.ps1