请问VS2008的命令行有哪些功能

woxoxow 2010-04-01 10:42:49
就是在运行“Visual Studio 2008 命令提示”出现的DOS窗口能运行哪些功能?
我现在只知道devenv可以用来编译解决方案和工程,例如:
devenv E:\Example\Example.vcproj /build "Release" >> e:\Compile.log
devenv /?可以知道和它支持所有参数,
希望能知道更多有用的命令。
比如把解决方案平台由Debug复制成New Debug。
...全文
1312 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
xpcxpy 2010-11-02
  • 打赏
  • 举报
回复
惺惺相惜谢谢
gamedragon 2010-04-12
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 woxoxow 的回复:]
比如创建解决方案,给工程添加文件之类。
[/Quote]
就我所知没有这些功能。

但是,命令行更多的是用来做自动化的,你这些功能需要自动化吗?如果不用自动化的话,我不认为你用命令行敲这些东西比在图形界面上拖拖拉拉来得更高级。
如果你一定要用命令行,看一下sln,vcproj的文件格式就清楚了,简单得很,就是个XML文件而已,随便什么文字处理工具都可以搞得定,没必要一定要用VS提供的吧。
woxoxow 2010-04-12
  • 打赏
  • 举报
回复
比如创建解决方案,给工程添加文件之类。
gamedragon 2010-04-02
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 woxoxow 的回复:]
除了Devenv,还有其它有用的吗?
[/Quote]
看你想干嘛了。这个问题就好像,Windows里的工具有用吗。
I_NBFA 2010-04-01
  • 打赏
  • 举报
回复
你在MSDN输入Devenv, 就有帮助啊.
I_NBFA 2010-04-01
  • 打赏
  • 举报
回复
MSDN的Visual Studio External Tools有一些介绍.

Updated: November 2007

Visual Studio includes external tools to help you develop and debug your applications. Some of these tools, such as ATL/MFC Trace Tool and Windows CE Remote Files Viewer, are already available on the Visual Studio Tools or Visual Studio Remote Tools menus, respectively. Additional tools are available in <Visual Studio installation path>\Microsoft Visual Studio 9.0\Common7\Tools\ or <Visual Studio installation path>\Microsoft Visual Studio 9.0\VC\.

You can run these utilities outside the Visual Studio integrated development environment (IDE), or you can enable them to appear on the Tools menu by using the External Tools dialog box. For more information, see How to: Launch Tools from Visual Studio.

Tools Available Through Shortcuts
The following tools can be found on the Programs or All Programs menu in Windows. Click Microsoft Visual Studio 9.0, and then click Visual Studio Tools.

Tool
More Information

Dotfuscator Community Edition
Lets you protect your application from reverse engineering. For more information, click Help in the tool.

MFC-ATL Trace Tool
ATLTraceTool Sample: Displays Output of ATLTRACE2

Visual Studio 2008 x64 Cross Tools Command Prompt

Visual Studio 2008 Command Prompt

Visual Studio 2008 Itanium Cross Tools Command Prompt
How to: Enable a 64-Bit Visual C++ Toolset at the Command Line

Visual Studio 2008 Remote Debugger

Visual Studio 2008 Remote Debugger Configuration Wizard
How to: Set Up Remote Debugging

SPY++
Provides a graphical view of the processes, threads, windows, and window messages of a system. For more information, click Help in the tool.


The following tools can be found on the Programs or All Programs menu in Windows. Click Microsoft Visual Studio 9.0, and then click Visual Studio Remote Tools.

Tool
Description

Windows CE Remote File Viewer
Displays a hierarchical view of the file system on a target device. For more information, click Help in the tool.

Windows CE Remote Heap Walker
Displays information about heap identifiers and flags for each process that is running on a target device and about system memory that a process uses. For more information, click Help in the tool.

Windows CE Remote Process Walker
Displays information associated with each process that is running on a target device. For more information, click Help in the tool.

Windows CE Remote Registry Editor
Displays the registry for a target device and lets you add, delete, and modify registry keys and registry entries. For more information, click Help in the tool.

Windows CE Remote Spy
Displays messages received by windows associated with applications that are running on a target device. For more information, click Help in the tool.

Windows CE Remote Zoom-in
Displays a screen image from a target device. For more information, click Help in the tool.


Tools Available on the Visual Studio Tools Menu
The following table lists the tools available by default on the Tools menu in Visual Studio. With the exception of Dotfuscator Community Edition, each of these tools can be found in the \Tools\ folder for Visual Studio.

File Name
Name
Location
Description

GuidGen
Create GUID
\Microsoft Visual Studio 9.0\Common7\Tools\
Generates a GUID based on specified criteria. For details, see GUIDGEN Sample: Generates Globally Unique Identifiers (GUIDs).

Dotfuscator
Dotfuscator Community Edition
\Microsoft Visual Studio 9.0\Application\PreEmptive Solutions\
Lets you protect your application from reverse engineering. For more information, click Help in the tool.

ErrLook
Error Lookup
\Microsoft Visual Studio 9.0\Common7\Tools\
Retrieves a system error message or module error message based on the value entered. For details, see ERRLOOK Reference .

AtlTraceTool8
ATL/MFC Trace Tool
\Microsoft Visual Studio 9.0\Common7\Tools\
Displays debug trace messages in the ATL and MFC sources. You can control the type and number of messages displayed. For details, see ATLTraceTool Sample: Displays Output of ATLTRACE2.

Spyxx
SPY++ 9.0
\Microsoft Visual Studio 9.0\Common7\Tools\
Provides a graphical view of the processes, threads, windows, and window messages of a system. For more information, click Help in the tool.


Additional Tools
Additional tools and utilities can be found in the following locations:

<Visual Studio installation path>\Microsoft Visual Studio 9.0\Common7\Tools\

<Visual Studio installation path>\Microsoft Visual Studio 9.0\Common7\Tools\bin\

<Visual Studio installation path>\Microsoft Visual Studio 9.0\VC\bin\

<Visual Studio installation path>\Microsoft Visual Studio 9.0\VC\PlatformSDK\bin\

Note:
To find Help for these tool s and utilities , search for the file name of the tool by using the Search page or Index in Visual Studio Help.

gamedragon 2010-04-01
  • 打赏
  • 举报
回复
devenv /?
看帮助,或者上网查。记住一个原则,Google(不是baidu!!)绝大多数情况下比CSDN好用。

你下面的一些功能,了解了sln等文件的格式,自己都能写,什么命令都不用。
woxoxow 2010-04-01
  • 打赏
  • 举报
回复
事实上能在命令行下运行的大都没有文档,
比如我用的devenv,
这个根本找不到文档。
我想要的功能指的是在命令行下执行VS2008界面上常用的功能,
比如编译,复制平台。给解决方案增加工程之类功能。
oyljerry 2010-04-01
  • 打赏
  • 举报
回复
直接到vs安装目录,tool等下面看各个exe帮助文档等
woxoxow 2010-04-01
  • 打赏
  • 举报
回复
除了Devenv,还有其它有用的吗?

16,550

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Creator Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧