Reinstall all the packages in a given project nuget
Update-Package -ProjectName MyProject –reinstall
Update all the packages in a given project nuget
Update-Package -ProjectName MyProject
More: https://docs.microsoft.com/zh-cn/nuget/consume-packages/reinstalling-and-updating-packages