更新时间:2022-12-24 14:31:47
你有视觉Studio 2010已标记但未说明感兴趣的语言,并且未提供上下文。我主要是C ++文化,因此将从这个角度描述事物。您可以使用命令行逻辑作为构建过程的一部分(即,在构建目标时)或作为独立工具(独立于构建)。
您可以将特定命令作为工具运行(如评论部分中的Richard所述)。点击工具 - >用于定义预打包命令的外部工具。构建命令行并为工具命名。在命令行中,您可以使用构建配置符号的子集(即。
(SolutionDir),
(配置)
Hi,
How can I run command in visual Stidio 2010
command like,
nuget install packages.config
Thanks.
You have Visual Studio 2010 tagged but didn't say which language(s) of interest, and have not provided context. I am mostly C++ literate so will describe things from that point of view. You can use command line logic as part of the build process (ie. when building target(s)) or as a standalone tool (independent of a build).
You can run specific commands as a tool (as described by Richard in the comments section). Click Tools -> External Tools to define a prepackaged command. Build a command line and give your tool a name. In the command line, you can use a subset of the build config symbols (ie.
(SolutionDir),
(Configuration)