Skip to content

Instantly share code, notes, and snippets.

@tcartwright
Last active May 10, 2024 14:58
Show Gist options
  • Save tcartwright/757544f15acb55fd645d42c74158bdd5 to your computer and use it in GitHub Desktop.
Save tcartwright/757544f15acb55fd645d42c74158bdd5 to your computer and use it in GitHub Desktop.
DOTNET: Update all packages in a solution
dotnet restore --no-cache --force
OR
nuget restore -nocache -force
LAST RESORT, CLEAR THE LOCAL CACHE:
nuget locals all -clear
@tcartwright
Copy link
Author

Sometimes Visual Studio just does not want to update packages to the latest version when using wildcards. It is very frustrating. Sometimes these commands work, sometimes you have to close / reopen VS. UGHHHHH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment