Visual Studio 2017 中的 Nuget CLI - 如何运行? [英] Nuget CLI in Visual Studio 2017 - How to run?

查看:68
本文介绍了Visual Studio 2017 中的 Nuget CLI - 如何运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

NuGet 4.x 包含在 Visual Studio 2017 安装中.最新的NuGet 版本作为 Visual Studio 更新的一部分提供.

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

包括电池!

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

No matter whether I open a Visual Studio 2017 command prompt or the Nuget console itself, running the 'nuget' command results in command not found.

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

How can I run the nuget CLI with Visual Studio 2017? What am I missing?

推荐答案

虽然在你提到的页面上写着Batteries are包括",但这只是指 NuGet 包管理器是如何集成的使用 Visual Studio 2017.该页面上的其他下载适用于 Visual Studio 2013-2015.

Although it says "Batteries are included" on the page you have mentioned, that only refers to how the NuGet package manager is integrated with Visual Studio 2017. The other downloads on that page are for Visual Studio 2013-2015.

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

If you want the command line nuget.exe in order to create NuGet packages, that is still a separate download on the page you mentioned: https://dist.nuget.org/index.html

这篇关于Visual Studio 2017 中的 Nuget CLI - 如何运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆