Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4c0d5d9
Bulk Fix: align property pages procedures
May 6, 2021
5dce1b9
Fix non-bulk issues before bulk fix
May 6, 2021
82ad64e
Acrolinx
May 6, 2021
daf7472
Merge pull request #3559 from corob-msft/docs/corob/build-IDE-frontru…
PRMerger16 May 6, 2021
ff10f8c
Merge branch 'master' into docs/corob/build-IDE-steps
May 6, 2021
d82c055
More frontrunning of bulk fix
May 6, 2021
cef1930
Merge pull request #3560 from corob-msft/docs/corob/build-IDE-frontru…
PRMerger6 May 6, 2021
23aa7f7
Merge branch 'master' into docs/corob/build-IDE-steps
May 6, 2021
d47ec04
Still more bulk update frontrunning
May 6, 2021
3369fc0
Acrolinx pass
May 6, 2021
f2acc20
Merge pull request #3561 from corob-msft/docs/corob/build-IDE-frontru…
PRMerger12 May 6, 2021
cd47b32
Merge branch 'master' into docs/corob/build-IDE-steps
May 6, 2021
21938c0
Still more command-line IDE frontrunning
May 6, 2021
c56b626
Acrolinx pass
May 6, 2021
cf291f3
Less Acrolinx
May 6, 2021
dd53c13
Merge pull request #3562 from corob-msft/docs/corob/build-IDE-frontru…
PRMerger6 May 6, 2021
cb6b384
Merge branch 'master' into docs/corob/build-IDE-steps
May 6, 2021
9e0317a
Frontrunning again for bulk fix
May 6, 2021
c3cf7e8
Rest of the changes
May 6, 2021
755964f
Merge pull request #3563 from corob-msft/docs/corob/build-IDE-frontru…
PRMerger14 May 6, 2021
a980ec4
Merge branch 'master' into docs/corob/build-IDE-steps
May 6, 2021
285df99
Merge pull request #3558 from corob-msft/docs/corob/build-IDE-steps
Court72 May 6, 2021
0fd0ede
Merge pull request #3564 from MicrosoftDocs/master
Taojunshen May 6, 2021
984fe2d
Merging changes synced from https://github.com/MicrosoftDocs/cpp-docs…
opbld15 May 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/build/reference/allowbind-prevent-dll-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can edit an existing DLL for /ALLOWBIND functionality with the [/ALLOWBIND](

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand **Configuration Properties**, **Linker**, and select **Command Line**.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Enter `/ALLOWBIND:NO` into **Additional Options**.

Expand Down
6 changes: 1 addition & 5 deletions docs/build/reference/appcontainer-windows-store-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ The /APPCONTAINER option was introduced in Windows 8.

1. Open the project **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties** node.

1. Expand the **Linker** node.

1. Select the **Command Line** property page.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. In **Additional Options**, enter `/APPCONTAINER` or `/APPCONTAINER:NO`.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/arch-arm.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ When you use [/clr](clr-common-language-runtime-compilation.md) to compile, **/a

1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **C/C++** folder.

1. Select the **Command Line** property page.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. In the **Additional options** box, add `/arch:ARMv7VE` or `/arch:VFPv4`.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/arch-x64.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ The `__AVX__` preprocessor symbol is defined when the **/arch:AVX**, **/arch:AVX

1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **Configuration Properties**, **C/C++** folder.

1. Select the **Code Generation** property page.
1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page.

1. In the **Enable Enhanced Instruction Set** drop-down box, choose **Advanced Vector Extensions (/arch:AVX)**, **Advanced Vector Extensions 2 (/arch:AVX2)** or **Advanced Vector Extensions 512 (/arch:AVX512)**.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/arch-x86.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ The `_M_IX86_FP`, `__AVX__`, `__AVX2__`, `__AVX512F__`, `__AVX512CD__`, `__AVX51

1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **Configuration Properties**, **C/C++** folder.

1. Select the **Code Generation** property page.
1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page.

1. Modify the **Enable Enhanced Instruction Set** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ Other linker options that affect assembly generation are:

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.

1. Click the **Debug** property page.
1. Select the **Configuration Properties** > **Linker** > **Debug** property page.

1. Modify the **Debuggable Assembly** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ Other linker options that affect assembly generation are:

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.

1. Click the **Command Line** property page.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Type the option into the **Additional Options** box.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ The MSVC linker accepts .netmodule files as input and the output file produced b

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.

1. Click the **Input** property page.
1. Select the **Configuration Properties** > **Linker** > **Input** property page.

1. Modify the **Add Module to Assembly** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ Other linker options that affect assembly generation are:

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.

1. Click the **Input** property page.
1. Select the **Configuration Properties** > **Linker** > **Input** property page.

1. Modify the **Embed Managed Resource File** property.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/await-enable-coroutine-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The **/await** option is available beginning in Visual Studio 2015.

1. Open your project's **Property Pages** dialog box.

1. Under **Configuration Properties**, expand the **C/C++** folder and choose the **Command Line** property page.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. Enter the **/await** compiler option in the **Additional Options** box. Choose **OK** or **Apply** to save your changes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ int i; // a variable

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.

1. Click the **Preprocessor** property page.
1. Select the **Configuration Properties** > **C/C++** > **Preprocessor** property page.

1. Modify the **Keep Comments** property.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/cgthreads-compiler-threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ Multiple levels of parallelism can be specified for a build. The msbuild.exe swi

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **Configuration Properties**, **Linker** folder.

1. Select the **Command Line** property page.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Modify the **Additional Options** property to include **/CGTHREADS:**`number`, where `number` is a value from 1 to 8, and then choose **OK**.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ For information about how to determine the CLR image type of a file, see [/CLRHE

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties** node.

1. Expand the **Linker** node.

1. Select the **Advanced** property page.
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.

1. Modify the **CLR Image Type** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ You can minimize the performance impact by linking with **/CLRSUPPORTLASTERROR:S

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Click the **Command Line** property page.

1. Type the option into the **Additional Options** box.
1. Enter the option into the **Additional Options** box.

### To set this linker option programmatically

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ It will be necessary for you to use single-threading, for example, if your CLR p

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties** node.

1. Expand the **Linker** node.

1. Select the **Advanced** property page.
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.

1. Modify the **CLR Thread Attribute** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ See [Secure Coding Guidelines for Unmanaged Code](/dotnet/framework/security/sec

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties** node.

1. Expand the **Linker** node.

1. Select the **Advanced** property page.
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.

1. Modify the **CLR Unmanaged Code Check** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ The **/constexpr** options are available beginning in Visual Studio 2015.

1. Open your project's **Property Pages** dialog box.

2. Under **Configuration Properties**, expand the **C/C++** folder and choose the **Command Line** property page.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

3. Enter any **/constexpr** compiler options in the **Additional Options** box. Choose **OK** or **Apply** to save your changes.
1. Enter any **/constexpr** compiler options in the **Additional Options** box. Choose **OK** or **Apply** to save your changes.

### To set this compiler option programmatically

Expand Down
6 changes: 3 additions & 3 deletions docs/build/reference/creating-a-makefile-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ IntelliSense fails in makefile projects when certain project settings or compile

1. Open the **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties** node.
1. Select the **Configuration Properties** > **NMake** property page.

1. Select the **NMake** property page, and then modify properties under **IntelliSense** as appropriate.
1. Modify properties under **IntelliSense** as appropriate:

- Set the **Preprocessor Definitions** property to define any preprocessor symbols in your makefile project. See [/D (Preprocessor Definitions)](d-preprocessor-definitions.md), for more information.

Expand All @@ -89,7 +89,7 @@ IntelliSense fails in makefile projects when certain project settings or compile

- Set the **Additional Options** property to specify additional compiler switches to be used by IntelliSense when parsing C++ files.

1. Click **OK** to close the property pages.
1. Choose **OK** to close the property pages.

1. Use the **Save All** command to save the modified project settings.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ For the Linux version of this page, see [Custom Build Step Properties (Linux C++

### To specify a custom build step

1. On the menu bar, choose **Project** > **Properties**. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
1. On the menu bar, choose **Project** > **Properties** to open the **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. In the **Property Pages** dialog box, navigate to the **Configuration Properties** > **Custom Build Step** > **General** page.
1. Select the **Configuration Properties** > **Custom Build Step** > **General** page.

1. Modify the settings.

Expand Down
6 changes: 2 additions & 4 deletions docs/build/reference/e-preprocess-to-stdout.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ cl -E test.cpp > test2.cpp

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. Click the **Command Line** property page.

1. Type the compiler option in the **Additional Options**box.
1. Enter the compiler option in the **Additional Options** box.

### To set this compiler option programmatically

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/entry-entry-point-symbol.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ For information on how to define your own `DllMain` entry point, see [DLLs and V

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **Linker** folder.

1. Click the **Advanced** property page.
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.

1. Modify the **Entry Point** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ You cannot use precompiled headers with the **/EP** option.

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.

1. Click the **Preprocessor** property page.
1. Select the **Configuration Properties** > **C/C++** > **Preprocessor** property page.

1. Modify the **Generate Preprocessed File** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The **/errorReport** arguments are overridden by the Windows Error Reporting ser

1. Open the project **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Open the **Configuration Properties** > **C/C++** > **Advanced** property page.
1. Select the **Configuration Properties** > **C/C++** > **Advanced** property page.

1. Modify the **Error Reporting** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The **/ERRORREPORT** arguments are overridden by the Windows Error Reporting ser

1. Open the project **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Open the **Configuration Properties** > **Linker** > **Advanced** property page.
1. Select the **Configuration Properties** > **Linker** > **Advanced** property page.

1. Modify the **Error Reporting** property.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you want to set both the source character set and the execution character set

1. Open the project **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Expand the **Configuration Properties**, **C/C++**, **Command Line** folder.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. In **Additional Options**, add the **/execution-charset** option, and specify your preferred encoding.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/f-set-stack-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also set the stack size by:

1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. Type the compiler option in the **Additional Options** box.
1. Enter the compiler option in the **Additional Options** box.

### To set this compiler option programmatically

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ For information about how to program for the x64 architecture, see [x64 Software

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **C/C++** folder.

1. Select the **Command Line** property page.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. Enter the compiler option in the **Additional Options** box.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/fd-program-database-file-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ This option also names the state (.idb) file used for minimal rebuild and increm

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.

1. Click the **Output Files** property page.
1. Select the **Configuration Properties** > **C/C++** > **Output Files** property page.

1. Modify the **Program Database File Name** property.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/fe-name-exe-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you specify the [/c (Compile Without Linking)](c-compile-without-linking.md)

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Open the **Configuration Properties** > **Linker** > **General** property page.
1. Select the **Configuration Properties** > **Linker** > **General** property page.

1. Modify the **Output File** property. Choose **OK** to save your changes.

Expand Down
4 changes: 1 addition & 3 deletions docs/build/reference/fi-name-forced-include-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ This option has the same effect as specifying the file with double quotation mar

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.

1. Click the **Advanced** property page.
1. Select the **Configuration Properties** > **C/C++** > **Advanced** property page.

1. Modify the **Forced Include File** property.

Expand Down
4 changes: 2 additions & 2 deletions docs/build/reference/filealign.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ Use [DUMPBIN](dumpbin-reference.md) to see information about sections in your ou

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **Command Line** property page in the **Linker** folder.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Type the option name **/FILEALIGN:** and the size in the **Additional Options** box.
1. Enter the option name **/FILEALIGN:** and the size in the **Additional Options** box.

### To set this linker option programmatically

Expand Down
6 changes: 2 additions & 4 deletions docs/build/reference/fixed-fixed-base-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ Specify /FIXED:NO to generate a relocation section in the program.

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Select the **Linker** folder.
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.

1. Select the **Command Line** property page.

1. Type the option name and setting in the **Additional Options** box.
1. Enter the option name and setting in the **Additional Options** box.

### To set this linker option programmatically

Expand Down
10 changes: 4 additions & 6 deletions docs/build/reference/fm-name-mapfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,21 @@ Tells the linker to produce a mapfile containing a list of segments in the order

## Remarks

By default, the mapfile is given the base name of the corresponding C or C++ source file with a .MAP extension.
By default, the map file is given the base name of the corresponding C or C++ source file with a *`.MAP`* extension.

Specifying **/Fm** has the same effect as if you had specified the [/MAP (Generate Mapfile)](map-generate-mapfile.md) linker option.

If you specify [/c (Compile Without Linking)](c-compile-without-linking.md) to suppress linking, **/Fm** has no effect.

Global symbols in a mapfile usually have one or more leading underscores because the compiler adds a leading underscore to variable names. Many global symbols that appear in the mapfile are used internally by the compiler and the standard libraries.
Global symbols in a map file usually have one or more leading underscores. It's because the compiler adds a leading underscore to variable names. Many global symbols that appear in the map file are used internally by the compiler and the standard libraries.

### To set this compiler option in the Visual Studio development environment

1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).

1. Click the **C/C++** folder.
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.

1. Click the **Command Line** property page.

1. Type the compiler option in the **Additional Options** box.
1. Enter the compiler option in the **Additional Options** box.

### To set this compiler option programmatically

Expand Down
Loading