To compile instrumented code using the command line 使用命令行編譯已插入檢測點的代碼
Menu . to compile project . vbproj files at the command line , see 若要在命令行編譯項目( . vbproj )文件,請參見
Provides steps for running vsvars32 . bat to enable command - line builds 提供運行vsvars32 . bat以啟用命令行編譯的步驟。
Using the command line 使用命令行編譯
Command line builds 命令行編譯
The following command line compiles and links all c source files in the current directory 下列命令行編譯并鏈接當前目錄中的所有c源文件。
The vsvars32 . bat file sets the appropriate environment variables to enable command line builds Vsvars32 . bat文件設置適當的環境變量以啟用命令行編譯。
The vcvars32 . bat file sets the appropriate environment variables to enable 32 - bit command - line builds Vcvars32 . bat文件設置適當的環境變量以啟用32位命令行編譯。
Select an application , clean out its classes directory , and then pick a single source file and compile it from the command line 選擇一個應用程序、清除其類目錄、然后選定一個源代碼文件并用命令行編譯它。
If you do not use the visual studio command prompt , it is necessary to run vsvars32 . bat to set the appropriate environment variables to support command line builds 如果不使用“ visual studio命令提示” ,則需要運行vsvars32 . bat以設置適當的環境變量來支持命令行編譯。