要更新的解决方案比较多,在 visual studio 中通过 nuget package manager 更新比较麻烦,想通过命令行更新,请问有什么命令行工具可以实现?
github 上有个 .net global tool 可以实现 —— dotnet-outdated
安装 dotnet-outdated 命令行工具
dotnet tool install --global dotnet-outdated-tool
查看可以升级的 nuget 包
dotnet outdated
升级所有 nuget 包
dotnet outdated --upgrade