更新时间:2023-02-02 17:40:49
使用 Visual Studio 中的 Package Manager Console
运行此命令.
Use Package Manager Console
in Visual Studio to run this command.
1.这将从解决方案中恢复所有包
nuget restore YourSolution.sln
2.如果您想重新安装软件包到与以前相同的版本已安装
2.If you want to reinstall the packages to the same versions as were previously installed
Update-Package -reinstall