从命令行获取 NuGet.exe 版本 [英] Get NuGet.exe version from command-line

查看:25
本文介绍了从命令行获取 NuGet.exe 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用命令行获取 NuGet.exe 版本.

I'd like to get the NuGet.exe version using the command-line.

我知道我可以让 NuGet 版本作为 Visual Studio 的一部分运行,按照说明 这里,但我所追求的是命令行类似的东西,即:

I know I can get the version of NuGet running as part of Visual Studio, as per the instructions here, but what I'm after is something similar from the command-line, i.e like:

nuget --version

有什么想法吗?

推荐答案

从命令行键入 nuget help 除了预期的帮助信息之外,还会列出当前的 NuGet.exe 版本.

Typing nuget help from the command line will in addition to the expected help information also list the current NuGet.exe version.

这篇关于从命令行获取 NuGet.exe 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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