在没有 Visual Studio 的情况下将 nuget 包添加到项目文件中
Add nuget package into project file without Visual Studio
我正在寻找 add/update 新 nuget 包的解决方案以退出项目文件 .csproj 但没有 Visual Studio。我在这里 post 将它下载到本地机器上。但是我们想要 Visual Studio 做
相同的过程
- 下载 dll
- 在项目文件中添加引用
- 更新package.config文件
我可以在Visual Studio之外实现这个吗?
这应该可以使用 Nuget.exe 和 install-package
等 Powershell cmdlet。详情见the blog post Installing NuGet Packages outside of Visual Studio!
我正在寻找 add/update 新 nuget 包的解决方案以退出项目文件 .csproj 但没有 Visual Studio。我在这里 post 将它下载到本地机器上。但是我们想要 Visual Studio 做
相同的过程- 下载 dll
- 在项目文件中添加引用
- 更新package.config文件
我可以在Visual Studio之外实现这个吗?
这应该可以使用 Nuget.exe 和 install-package
等 Powershell cmdlet。详情见the blog post Installing NuGet Packages outside of Visual Studio!