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

时间:2023-01-13 17:47:07
就是在运行“Visual Studio 2008 命令提示”出现的DOS窗口能运行哪些功能?
我现在只知道devenv可以用来编译解决方案和工程,例如:
devenv E:\Example\Example.vcproj /build "Release" >> e:\Compile.log
devenv /?可以知道和它支持所有参数,
希望能知道更多有用的命令。
比如把解决方案平台由Debug复制成New Debug。

10 个解决方案

#1


直接到vs安装目录,tool等下面看各个exe帮助文档等

#2


事实上能在命令行下运行的大都没有文档,
比如我用的devenv,
这个根本找不到文档。
我想要的功能指的是在命令行下执行VS2008界面上常用的功能,
比如编译,复制平台。给解决方案增加工程之类功能。

#3


devenv /?
看帮助,或者上网查。记住一个原则,Google(不是baidu!!)绝大多数情况下比CSDN好用。

你下面的一些功能,了解了sln等文件的格式,自己都能写,什么命令都不用。

#4


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. 
 

#5


你在MSDN输入Devenv, 就有帮助啊.

#6


除了Devenv,还有其它有用的吗?

#7


引用 6 楼 woxoxow 的回复:
除了Devenv,还有其它有用的吗?

看你想干嘛了。这个问题就好像,Windows里的工具有用吗。

#8


比如创建解决方案,给工程添加文件之类。

#9


引用 8 楼 woxoxow 的回复:
比如创建解决方案,给工程添加文件之类。

就我所知没有这些功能。

但是,命令行更多的是用来做自动化的,你这些功能需要自动化吗?如果不用自动化的话,我不认为你用命令行敲这些东西比在图形界面上拖拖拉拉来得更高级。
如果你一定要用命令行,看一下sln,vcproj的文件格式就清楚了,简单得很,就是个XML文件而已,随便什么文字处理工具都可以搞得定,没必要一定要用VS提供的吧。

#10


惺惺相惜谢谢

#1


直接到vs安装目录,tool等下面看各个exe帮助文档等

#2


事实上能在命令行下运行的大都没有文档,
比如我用的devenv,
这个根本找不到文档。
我想要的功能指的是在命令行下执行VS2008界面上常用的功能,
比如编译,复制平台。给解决方案增加工程之类功能。

#3


devenv /?
看帮助,或者上网查。记住一个原则,Google(不是baidu!!)绝大多数情况下比CSDN好用。

你下面的一些功能,了解了sln等文件的格式,自己都能写,什么命令都不用。

#4


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. 
 

#5


你在MSDN输入Devenv, 就有帮助啊.

#6


除了Devenv,还有其它有用的吗?

#7


引用 6 楼 woxoxow 的回复:
除了Devenv,还有其它有用的吗?

看你想干嘛了。这个问题就好像,Windows里的工具有用吗。

#8


比如创建解决方案,给工程添加文件之类。

#9


引用 8 楼 woxoxow 的回复:
比如创建解决方案,给工程添加文件之类。

就我所知没有这些功能。

但是,命令行更多的是用来做自动化的,你这些功能需要自动化吗?如果不用自动化的话,我不认为你用命令行敲这些东西比在图形界面上拖拖拉拉来得更高级。
如果你一定要用命令行,看一下sln,vcproj的文件格式就清楚了,简单得很,就是个XML文件而已,随便什么文字处理工具都可以搞得定,没必要一定要用VS提供的吧。

#10


惺惺相惜谢谢