You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/building-on-the-command-line.md
+10-11
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ To work correctly, the tools require several specific environment variables to b
22
22
23
23
The required environment variables are specific to your installation and to the build architecture you choose, and might be changed by product updates or upgrades. Therefore, we strongly recommend that you use one of the installed command prompt shortcuts or command files instead of setting the environment variables in Windows yourself. For more information, see [Set the Path and Environment Variables for Command-Line Builds](setting-the-path-and-environment-variables-for-command-line-builds.md).
The command prompt shortcuts are installed in a version-specific Visual Studio folder in your Start menu. Here's a list of the base command prompt shortcuts and the build architectures they support:
28
28
@@ -36,16 +36,15 @@ The actual Start menu folder and shortcut names vary depending on the version of
36
36
37
37
If you've installed the [Build Tools for Visual Studio 2017](https://go.microsoft.com/fwlink/p/?linkid=875721) (which also includes the Visual Studio 2015 Update 3 compiler toolset), only the architecture-specific native or cross tools developer command prompt options are installed, and not the general **Developer Command Prompt** shortcut.
38
38
39
-
<aname="developer_command_prompt"></a>
40
-
### To open a developer command prompt window
39
+
## <aname="developer_command_prompt"></a> To open a developer command prompt window
41
40
42
41
1. On the desktop, open the Windows **Start** menu, and then scroll to find and open the folder for your version of Visual Studio, for example, **Visual Studio 2017**. In some older versions of Visual Studio, the shortcuts are in a subfolder called **Visual Studio Tools**.
43
42
44
43
1. In the folder, choose the **Developer Command Prompt** for your version of Visual Studio. This shortcut starts a developer command prompt window that uses the default build architecture of 32-bit, x86-native tools to build 32-bit, x86-native code. If you prefer a non-default build architecture, choose one of the native or cross tools command prompts to specify the host and target architecture.
45
44
46
45
An even faster way to open a developer command prompt window is to enter *developer command prompt* in the desktop search box, then choose the desired result.
If you prefer to set the build architecture environment in an existing command prompt window, you can use one of the command files (batch files) created by the installer to set the required environment. We only recommend you do this in a new command prompt window, and we do not recommend you later switch environments in the same command window. The location of these files depends on the version of Visual Studio you have installed, and on location and naming choices you made during installation. For Visual Studio 2017, the typical installation location on a 64-bit computer is in \Program Files (x86)\Microsoft Visual Studio\2017\\*edition*, where *edition* may be Community, Professional, Enterprise, BuildTools, or another name you supplied. For Visual Studio 2015, the typical installation location is in \Program Files (x86)\Microsoft Visual Studio 14.0.
51
50
@@ -160,19 +159,19 @@ Describes how to start a command prompt window that has the required environment
Copy file name to clipboardExpand all lines: docs/build/how-to-configure-visual-cpp-projects-to-target-64-bit-platforms.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ You can use the project configurations in the Visual Studio IDE to set up C++ ap
12
12
13
13
1. Open the C++ project that you want to configure.
14
14
15
-
1. Open the property pages for that project. For more information, see [Working with Project Properties](working-with-project-properties.md).
15
+
1. Open the property pages for that project. For more information, see [Set compiler and build properties](working-with-project-properties.md).
16
16
17
17
> [!NOTE]
18
18
> For .NET projects, make sure that the **Configuration Properties** node, or one of its child nodes, is selected in the **\<Projectname> Property Pages** dialog box; otherwise, the **Configuration Manager** button remains unavailable.
Copy file name to clipboardExpand all lines: docs/build/how-to-debug-a-release-build.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ You can debug a release build of an application.
10
10
11
11
### To debug a release build
12
12
13
-
1. Open the **Property Pages** dialog box for the project. For details, see [Working with Project Properties](working-with-project-properties.md).
13
+
1. Open the **Property Pages** dialog box for the project. For details, see [Set compiler and build properties](working-with-project-properties.md).
14
14
15
15
1. Click the **C/C++** node. Set **Debug Information Format** to [C7 compatible (/Z7)](reference/z7-zi-zi-debug-information-format.md) or **Program Database (/Zi)**.
Copy file name to clipboardExpand all lines: docs/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,11 @@ When you install a C++ workload in the Visual Studio installer, it always instal
17
17
18
18
## Use a 64-bit hosted developer command prompt shortcut
19
19
20
-
When Visual Studio is installed on a 64-bit Windows operating system, additional developer command prompt shortcuts for the 64-bit, x64-hosted native and cross compilers are available. To access these command prompts on Windows 10, on the **Start** menu, open the folder for your version of Visual Studio, for example **Visual Studio 2017**, and then choose one of the x64 native or cross-tool developer command prompts. To access these command prompts on Windows 8, on the **Start** screen, open **All apps**. Under the heading for the installed version of Visual Studio, open the **Visual Studio** folder (in older versions of Visual Studio, it may be named **Visual Studio Tools**). On earlier versions of Windows, choose **Start**, expand **All Programs**, the folder for your version of **Visual Studio** (and on older versions of Visual Studio, **Visual Studio Tools**). For more information, see [Developer command prompt shortcuts](building-on-the-command-line.md#developer-command-prompt-shortcuts).
20
+
When Visual Studio is installed on a 64-bit Windows operating system, additional developer command prompt shortcuts for the 64-bit, x64-hosted native and cross compilers are available. To access these command prompts on Windows 10, on the **Start** menu, open the folder for your version of Visual Studio, for example **Visual Studio 2017**, and then choose one of the x64 native or cross-tool developer command prompts. To access these command prompts on Windows 8, on the **Start** screen, open **All apps**. Under the heading for the installed version of Visual Studio, open the **Visual Studio** folder (in older versions of Visual Studio, it may be named **Visual Studio Tools**). On earlier versions of Windows, choose **Start**, expand **All Programs**, the folder for your version of **Visual Studio** (and on older versions of Visual Studio, **Visual Studio Tools**). For more information, see [Developer command prompt shortcuts](building-on-the-command-line.md#developer_command_prompt_shortcuts).
21
21
22
22
## Use Vcvarsall.bat to set a 64-bit hosted build architecture
23
23
24
-
Any of the native or cross compiler tools build configurations can be used on the command line by running the vcvarsall.bat command file. This command file configures the path and environment variables that enable a particular build architecture in an existing command prompt window. For specific instructions, see [Developer command files and locations](building-on-the-command-line.md#developer-command-files-and-locations).
24
+
Any of the native or cross compiler tools build configurations can be used on the command line by running the vcvarsall.bat command file. This command file configures the path and environment variables that enable a particular build architecture in an existing command prompt window. For specific instructions, see [Developer command files and locations](building-on-the-command-line.md#developer_command_files_and_locations).
Copy file name to clipboardExpand all lines: docs/build/reference/appcontainer-windows-store-app.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The /APPCONTAINER option was introduced in Windows 8.
23
23
24
24
### To set this linker option in Visual Studio
25
25
26
-
1. Open the project **Property Pages** dialog box. For more information, see [Working with Project Properties](../working-with-project-properties.md).
26
+
1. Open the project **Property Pages** dialog box. For more information, see [Set compiler and build properties](../working-with-project-properties.md).
Copy file name to clipboardExpand all lines: docs/build/reference/arch-arm.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ When you use [/clr](clr-common-language-runtime-compilation.md) to compile, **/a
29
29
30
30
### To set the /arch:ARMv7VE or /arch:VFPv4 compiler option in Visual Studio
31
31
32
-
1. Open the **Property Pages** dialog box for the project. For more information, see [Working with Project Properties](../working-with-project-properties.md).
32
+
1. Open the **Property Pages** dialog box for the project. For more information, see [Set compiler and build properties](../working-with-project-properties.md).
33
33
34
34
1. Select the **C/C++** folder.
35
35
@@ -45,4 +45,4 @@ When you use [/clr](clr-common-language-runtime-compilation.md) to compile, **/a
45
45
46
46
[/arch (Minimum CPU Architecture)](arch-minimum-cpu-architecture.md)<br/>
47
47
[Compiler Options](compiler-options.md)<br/>
48
-
[Compiler Command Line Syntax](../compiler-command-line-syntax.md)
48
+
[Compiler Command Line Syntax](compiler-command-line-syntax.md)
0 commit comments