Last active
May 10, 2024 14:58
-
-
Save tcartwright/757544f15acb55fd645d42c74158bdd5 to your computer and use it in GitHub Desktop.
DOTNET: Update all packages in a solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet restore --no-cache --force | |
OR | |
nuget restore -nocache -force | |
LAST RESORT, CLEAR THE LOCAL CACHE: | |
nuget locals all -clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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