Visual Studio 2017 中的 Nuget CLI - 如何运行?

标签 nuget visual-studio-2017

根据页面:https://dist.nuget.org/index.html

NuGet 4.x is included in the Visual Studio 2017 installation. Latest NuGet releases are delivered as part of Visual Studio updates.

Batteries are included!



无论我是打开 Visual Studio 2017 命令提示符还是 Nuget 控制台本身,运行“nuget”命令都会导致找不到命令。

如何使用 Visual Studio 2017 运行 nuget CLI?我错过了什么?

最佳答案

虽然在您提到的页面上说“包含电池”,但这仅指 NuGet 包管理器如何与 Visual Studio 2017 集成。该页面上的其他下载适用于 Visual Studio 2013-2015。

如果你想要命令行 nuget.exe为了创建 NuGet 包,仍然需要在您提到的页面上单独下载:https://dist.nuget.org/index.html

关于Visual Studio 2017 中的 Nuget CLI - 如何运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43326748/

相关文章:

opencv - 使用Visual Studio配置OpenCV的三种方法?

jquery - scriptcs - 无法读取包

c# - 我可以在 nuget 包中有部分类吗?

c++ - 模板函数中的警告 C4091

visual-studio-code - 如何在 Visual Studio Code 上查看 C# Nuget 包的源代码?

TypeScript 字符串枚举 - "Type ... is not assignable to type ..."

c# - VS 2017 中的类图

c# - 来自 Visual Studio 2017 的 Azure 函数调试连接出现 'N/A' 监听器连接错误

nuget - 如何使用新的 csproj VS2017 打包附加的symbols.nupkg

nuget - 如何通过nuget安装MVVMLight