From 4c0d5d9a598d672103458818b7eb32735323403c Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 00:47:13 -0700 Subject: [PATCH 01/11] Bulk Fix: align property pages procedures --- docs/build/reference/allowbind-prevent-dll-binding.md | 2 +- docs/build/reference/appcontainer-windows-store-app.md | 6 +----- docs/build/reference/arch-arm.md | 4 +--- docs/build/reference/arch-x64.md | 4 +--- docs/build/reference/arch-x86.md | 4 +--- .../reference/assemblydebug-add-debuggableattribute.md | 4 +--- ...emblylinkresource-link-to-dotnet-framework-resource.md | 4 +--- .../assemblymodule-add-a-msil-module-to-the-assembly.md | 4 +--- .../assemblyresource-embed-a-managed-resource.md | 4 +--- docs/build/reference/await-enable-coroutine-support.md | 2 +- .../reference/c-preserve-comments-during-preprocessing.md | 4 +--- docs/build/reference/cgthreads-compiler-threads.md | 4 +--- .../reference/clrimagetype-specify-type-of-clr-image.md | 6 +----- ...asterror-preserve-last-error-code-for-pinvoke-calls.md | 6 ++---- .../clrthreadattribute-set-clr-thread-attribute.md | 6 +----- ...odecheck-add-suppressunmanagedcodesecurityattribute.md | 6 +----- .../reference/constexpr-control-constexpr-evaluation.md | 4 ++-- docs/build/reference/creating-a-makefile-project.md | 6 +++--- .../reference/custom-build-step-property-page-general.md | 4 ++-- docs/build/reference/e-preprocess-to-stdout.md | 6 ++---- docs/build/reference/entry-entry-point-symbol.md | 4 +--- ...p-preprocess-to-stdout-without-hash-line-directives.md | 4 +--- .../errorreport-report-internal-compiler-errors.md | 2 +- .../errorreport-report-internal-linker-errors.md | 2 +- .../execution-charset-set-execution-character-set.md | 2 +- docs/build/reference/f-set-stack-size.md | 2 +- .../favor-optimize-for-architecture-specifics.md | 4 +--- docs/build/reference/fd-program-database-file-name.md | 4 +--- docs/build/reference/fe-name-exe-file.md | 2 +- docs/build/reference/fi-name-forced-include-file.md | 4 +--- docs/build/reference/filealign.md | 4 ++-- docs/build/reference/fixed-fixed-base-address.md | 6 ++---- docs/build/reference/fm-name-mapfile.md | 6 ++---- docs/build/reference/fp-name-dot-pch-file.md | 2 +- docs/build/reference/fr-fr-create-dot-sbr-file.md | 2 +- docs/build/reference/fs-force-synchronous-pdb-writes.md | 4 +--- docs/build/reference/fx-merge-injected-code.md | 4 +--- .../reference/ga-optimize-for-windows-application.md | 6 ++---- docs/build/reference/gd-gr-gv-gz-calling-convention.md | 2 +- docs/build/reference/ge-enable-stack-probes.md | 6 ++---- docs/build/reference/gf-eliminate-duplicate-strings.md | 4 +--- docs/build/reference/gh-enable-penter-hook-function.md | 2 +- docs/build/reference/gh-enable-pexit-hook-function.md | 2 +- .../reference/gr-enable-run-time-type-information.md | 4 +--- docs/build/reference/gs-buffer-security-check.md | 8 ++------ docs/build/reference/guard-enable-control-flow-guard.md | 2 +- docs/build/reference/guard-enable-guard-checks.md | 2 +- docs/build/reference/gw-optimize-global-data.md | 4 +--- docs/build/reference/gx-enable-exception-handling.md | 4 ++-- docs/build/reference/gy-enable-function-level-linking.md | 4 +--- .../gz-enable-stack-frame-run-time-error-checking.md | 6 ++---- docs/build/reference/heap-set-heap-size.md | 4 +--- .../homeparams-copy-register-parameters-to-stack.md | 2 +- .../build/reference/hotpatch-create-hotpatchable-image.md | 4 +--- docs/build/reference/idlout-name-midl-output-files.md | 4 +--- docs/build/reference/ignore-ignore-specific-warnings.md | 2 +- .../ignoreidl-don-t-process-attributes-into-midl.md | 4 +--- docs/build/reference/implib-name-import-library.md | 4 +--- docs/build/reference/include-force-symbol-references.md | 4 +--- docs/build/reference/incremental-link-incrementally.md | 4 +--- docs/build/reference/inferasanlibs.md | 2 +- docs/build/reference/j-default-char-type-is-unsigned.md | 6 +++--- ...ntainer-specify-a-key-container-to-sign-an-assembly.md | 6 ++---- ...keyfile-specify-key-or-key-pair-to-sign-an-assembly.md | 6 ++---- .../reference/largeaddressaware-handle-large-addresses.md | 4 +--- docs/build/reference/libpath-additional-libpath.md | 4 +--- docs/build/reference/machine-specify-target-platform.md | 4 +--- .../manifest-create-side-by-side-assembly-manifest.md | 6 +----- docs/build/reference/manifestfile-name-manifest-file.md | 6 +----- docs/build/reference/map-generate-mapfile.md | 4 +--- .../reference/mapinfo-include-information-in-mapfile.md | 4 +--- docs/build/reference/merge-combine-sections.md | 4 +--- docs/build/reference/natvis-add-natvis-to-pdb.md | 4 ++-- docs/build/reference/noassembly-create-a-msil-module.md | 4 +--- docs/build/reference/noentry-no-entry-point.md | 4 +--- .../reference/nologo-suppress-startup-banner-c-cpp.md | 4 +--- docs/build/reference/od-disable-debug.md | 4 +--- docs/build/reference/oi-generate-intrinsic-functions.md | 4 +--- docs/build/reference/out-output-file-name.md | 4 +--- docs/build/reference/p-preprocess-to-a-file.md | 4 +--- docs/build/reference/pdb-use-program-database.md | 4 +--- docs/build/reference/pdbstripped-strip-private-symbols.md | 4 +--- .../build/reference/profile-performance-tools-profiler.md | 6 +----- .../qfast-transcendentals-force-fast-transcendentals.md | 4 +--- docs/build/reference/qifist-suppress-ftol.md | 4 +--- .../qimprecise-fwaits-remove-fwaits-inside-try-blocks.md | 6 ++---- docs/build/reference/qpar-auto-parallelizer.md | 4 ++-- .../qpar-report-auto-parallelizer-reporting-level.md | 2 +- .../qvec-report-auto-vectorizer-reporting-level.md | 4 ++-- .../reference/source-charset-set-source-character-set.md | 4 ++-- docs/build/reference/stack-stack-allocations.md | 4 +--- .../reference/std-specify-language-standard-version.md | 2 +- docs/build/reference/stub-ms-dos-stub-file-name.md | 6 ++---- docs/build/reference/subsystem-specify-subsystem.md | 6 ++---- .../reference/swaprun-load-linker-output-to-swap-file.md | 4 +--- .../reference/tlbid-specify-resource-id-for-typelib.md | 4 +--- docs/build/reference/tlbout-name-dot-tlb-file.md | 4 +--- .../tsaware-create-terminal-server-aware-application.md | 4 +--- docs/build/reference/v-version-number.md | 6 ++---- ...validate-charset-validate-for-compatible-characters.md | 4 ++-- docs/build/reference/vcpp-directories-property-page.md | 6 ++++-- .../reference/vd-disable-construction-displacements.md | 6 ++---- docs/build/reference/version-version-information.md | 4 +--- .../wholearchive-include-all-library-object-files.md | 4 ++-- .../reference/winmddelaysign-partially-sign-a-winmd.md | 4 +--- docs/build/reference/winmdfile-specify-winmd-file.md | 4 +--- .../reference/winmdkeycontainer-specify-key-container.md | 4 +--- .../reference/winmdkeyfile-specify-winmd-key-file.md | 4 +--- docs/build/reference/wl-enable-one-line-diagnostics.md | 6 ++---- .../reference/wp64-detect-64-bit-portability-issues.md | 8 ++------ .../build/reference/wx-treat-linker-warnings-as-errors.md | 6 ++---- docs/build/reference/xdcmake-reference.md | 4 ++-- .../reference/y-ignore-precompiled-header-options.md | 6 ++---- .../yd-place-debug-information-in-object-file.md | 6 ++---- docs/build/reference/z7-zi-zi-debug-information-format.md | 2 +- docs/build/reference/za-ze-disable-language-extensions.md | 2 +- docs/build/reference/zg-generate-function-prototypes.md | 6 ++---- docs/build/reference/zl-omit-default-library-name.md | 4 +--- ...-specify-precompiled-header-memory-allocation-limit.md | 2 +- docs/build/reference/zo-enhance-optimized-debugging.md | 4 +--- docs/build/reference/zs-syntax-check-only.md | 6 ++---- docs/data/oledb/debugging-your-provider.md | 6 +++--- ...ng-a-windows-form-user-control-as-an-mfc-dialog-box.md | 2 +- .../overview-of-potential-upgrade-issues-visual-cpp.md | 2 +- 124 files changed, 166 insertions(+), 352 deletions(-) diff --git a/docs/build/reference/allowbind-prevent-dll-binding.md b/docs/build/reference/allowbind-prevent-dll-binding.md index a0510b36529..f3d11469047 100644 --- a/docs/build/reference/allowbind-prevent-dll-binding.md +++ b/docs/build/reference/allowbind-prevent-dll-binding.md @@ -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**. diff --git a/docs/build/reference/appcontainer-windows-store-app.md b/docs/build/reference/appcontainer-windows-store-app.md index 8f34773c2d0..4d57c088f3e 100644 --- a/docs/build/reference/appcontainer-windows-store-app.md +++ b/docs/build/reference/appcontainer-windows-store-app.md @@ -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`. diff --git a/docs/build/reference/arch-arm.md b/docs/build/reference/arch-arm.md index 34e39502e6f..b622745e0ea 100644 --- a/docs/build/reference/arch-arm.md +++ b/docs/build/reference/arch-arm.md @@ -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`. diff --git a/docs/build/reference/arch-x64.md b/docs/build/reference/arch-x64.md index 0fa550318d2..ffa9f2996eb 100644 --- a/docs/build/reference/arch-x64.md +++ b/docs/build/reference/arch-x64.md @@ -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)**. diff --git a/docs/build/reference/arch-x86.md b/docs/build/reference/arch-x86.md index b819485604f..73eefc119a0 100644 --- a/docs/build/reference/arch-x86.md +++ b/docs/build/reference/arch-x86.md @@ -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. diff --git a/docs/build/reference/assemblydebug-add-debuggableattribute.md b/docs/build/reference/assemblydebug-add-debuggableattribute.md index 11664bc3a6b..62c71671dcc 100644 --- a/docs/build/reference/assemblydebug-add-debuggableattribute.md +++ b/docs/build/reference/assemblydebug-add-debuggableattribute.md @@ -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. diff --git a/docs/build/reference/assemblylinkresource-link-to-dotnet-framework-resource.md b/docs/build/reference/assemblylinkresource-link-to-dotnet-framework-resource.md index 836b57bd005..8a36b426db3 100644 --- a/docs/build/reference/assemblylinkresource-link-to-dotnet-framework-resource.md +++ b/docs/build/reference/assemblylinkresource-link-to-dotnet-framework-resource.md @@ -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. diff --git a/docs/build/reference/assemblymodule-add-a-msil-module-to-the-assembly.md b/docs/build/reference/assemblymodule-add-a-msil-module-to-the-assembly.md index 403b140465f..59423c6bbcf 100644 --- a/docs/build/reference/assemblymodule-add-a-msil-module-to-the-assembly.md +++ b/docs/build/reference/assemblymodule-add-a-msil-module-to-the-assembly.md @@ -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. diff --git a/docs/build/reference/assemblyresource-embed-a-managed-resource.md b/docs/build/reference/assemblyresource-embed-a-managed-resource.md index 61f599d2ca7..ee50a4984d3 100644 --- a/docs/build/reference/assemblyresource-embed-a-managed-resource.md +++ b/docs/build/reference/assemblyresource-embed-a-managed-resource.md @@ -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. diff --git a/docs/build/reference/await-enable-coroutine-support.md b/docs/build/reference/await-enable-coroutine-support.md index 0972d49f903..ba252f49b0d 100644 --- a/docs/build/reference/await-enable-coroutine-support.md +++ b/docs/build/reference/await-enable-coroutine-support.md @@ -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. diff --git a/docs/build/reference/c-preserve-comments-during-preprocessing.md b/docs/build/reference/c-preserve-comments-during-preprocessing.md index 98ea7038dcf..242f1eabc62 100644 --- a/docs/build/reference/c-preserve-comments-during-preprocessing.md +++ b/docs/build/reference/c-preserve-comments-during-preprocessing.md @@ -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. diff --git a/docs/build/reference/cgthreads-compiler-threads.md b/docs/build/reference/cgthreads-compiler-threads.md index cae324cf05a..0dc76114025 100644 --- a/docs/build/reference/cgthreads-compiler-threads.md +++ b/docs/build/reference/cgthreads-compiler-threads.md @@ -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**. diff --git a/docs/build/reference/clrimagetype-specify-type-of-clr-image.md b/docs/build/reference/clrimagetype-specify-type-of-clr-image.md index 06e5a6d6ff3..cbaa592502d 100644 --- a/docs/build/reference/clrimagetype-specify-type-of-clr-image.md +++ b/docs/build/reference/clrimagetype-specify-type-of-clr-image.md @@ -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. diff --git a/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md b/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md index 4a2763f30db..ef9e5e1e0d7 100644 --- a/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md +++ b/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md @@ -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 diff --git a/docs/build/reference/clrthreadattribute-set-clr-thread-attribute.md b/docs/build/reference/clrthreadattribute-set-clr-thread-attribute.md index 52599b04028..f7fbc0e3825 100644 --- a/docs/build/reference/clrthreadattribute-set-clr-thread-attribute.md +++ b/docs/build/reference/clrthreadattribute-set-clr-thread-attribute.md @@ -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. diff --git a/docs/build/reference/clrunmanagedcodecheck-add-suppressunmanagedcodesecurityattribute.md b/docs/build/reference/clrunmanagedcodecheck-add-suppressunmanagedcodesecurityattribute.md index 5c6583062be..80494a5a176 100644 --- a/docs/build/reference/clrunmanagedcodecheck-add-suppressunmanagedcodesecurityattribute.md +++ b/docs/build/reference/clrunmanagedcodecheck-add-suppressunmanagedcodesecurityattribute.md @@ -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. diff --git a/docs/build/reference/constexpr-control-constexpr-evaluation.md b/docs/build/reference/constexpr-control-constexpr-evaluation.md index 5cb7120437a..6bee6fa00a3 100644 --- a/docs/build/reference/constexpr-control-constexpr-evaluation.md +++ b/docs/build/reference/constexpr-control-constexpr-evaluation.md @@ -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 diff --git a/docs/build/reference/creating-a-makefile-project.md b/docs/build/reference/creating-a-makefile-project.md index 1b794324098..495ab7dc906 100644 --- a/docs/build/reference/creating-a-makefile-project.md +++ b/docs/build/reference/creating-a-makefile-project.md @@ -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. Expand 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. @@ -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. diff --git a/docs/build/reference/custom-build-step-property-page-general.md b/docs/build/reference/custom-build-step-property-page-general.md index 46fa865f783..02b28be5a73 100644 --- a/docs/build/reference/custom-build-step-property-page-general.md +++ b/docs/build/reference/custom-build-step-property-page-general.md @@ -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. diff --git a/docs/build/reference/e-preprocess-to-stdout.md b/docs/build/reference/e-preprocess-to-stdout.md index d07d712d7c7..c2e2f9d98f1 100644 --- a/docs/build/reference/e-preprocess-to-stdout.md +++ b/docs/build/reference/e-preprocess-to-stdout.md @@ -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 diff --git a/docs/build/reference/entry-entry-point-symbol.md b/docs/build/reference/entry-entry-point-symbol.md index d76b31b8189..25d9dbdf630 100644 --- a/docs/build/reference/entry-entry-point-symbol.md +++ b/docs/build/reference/entry-entry-point-symbol.md @@ -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. diff --git a/docs/build/reference/ep-preprocess-to-stdout-without-hash-line-directives.md b/docs/build/reference/ep-preprocess-to-stdout-without-hash-line-directives.md index 228a75945c6..0c1deff9db2 100644 --- a/docs/build/reference/ep-preprocess-to-stdout-without-hash-line-directives.md +++ b/docs/build/reference/ep-preprocess-to-stdout-without-hash-line-directives.md @@ -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. diff --git a/docs/build/reference/errorreport-report-internal-compiler-errors.md b/docs/build/reference/errorreport-report-internal-compiler-errors.md index e50ae09abdf..95625bc2bce 100644 --- a/docs/build/reference/errorreport-report-internal-compiler-errors.md +++ b/docs/build/reference/errorreport-report-internal-compiler-errors.md @@ -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. diff --git a/docs/build/reference/errorreport-report-internal-linker-errors.md b/docs/build/reference/errorreport-report-internal-linker-errors.md index a8b74e19dc2..47d1eb0661f 100644 --- a/docs/build/reference/errorreport-report-internal-linker-errors.md +++ b/docs/build/reference/errorreport-report-internal-linker-errors.md @@ -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. diff --git a/docs/build/reference/execution-charset-set-execution-character-set.md b/docs/build/reference/execution-charset-set-execution-character-set.md index a27235f8029..fda1c306f46 100644 --- a/docs/build/reference/execution-charset-set-execution-character-set.md +++ b/docs/build/reference/execution-charset-set-execution-character-set.md @@ -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. diff --git a/docs/build/reference/f-set-stack-size.md b/docs/build/reference/f-set-stack-size.md index 4f83ebe4772..094d35d1021 100644 --- a/docs/build/reference/f-set-stack-size.md +++ b/docs/build/reference/f-set-stack-size.md @@ -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 diff --git a/docs/build/reference/favor-optimize-for-architecture-specifics.md b/docs/build/reference/favor-optimize-for-architecture-specifics.md index 62dfc97b3c2..57dd5b9016f 100644 --- a/docs/build/reference/favor-optimize-for-architecture-specifics.md +++ b/docs/build/reference/favor-optimize-for-architecture-specifics.md @@ -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. diff --git a/docs/build/reference/fd-program-database-file-name.md b/docs/build/reference/fd-program-database-file-name.md index 1d5e1a38462..7bc387dcf56 100644 --- a/docs/build/reference/fd-program-database-file-name.md +++ b/docs/build/reference/fd-program-database-file-name.md @@ -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. diff --git a/docs/build/reference/fe-name-exe-file.md b/docs/build/reference/fe-name-exe-file.md index 448a0a77767..1da185271bb 100644 --- a/docs/build/reference/fe-name-exe-file.md +++ b/docs/build/reference/fe-name-exe-file.md @@ -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. diff --git a/docs/build/reference/fi-name-forced-include-file.md b/docs/build/reference/fi-name-forced-include-file.md index cfc65beb4b6..48184defa99 100644 --- a/docs/build/reference/fi-name-forced-include-file.md +++ b/docs/build/reference/fi-name-forced-include-file.md @@ -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. diff --git a/docs/build/reference/filealign.md b/docs/build/reference/filealign.md index f1364ed2b8b..31f8c859d1c 100644 --- a/docs/build/reference/filealign.md +++ b/docs/build/reference/filealign.md @@ -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 diff --git a/docs/build/reference/fixed-fixed-base-address.md b/docs/build/reference/fixed-fixed-base-address.md index 7b2ca8bbf4e..eb98ccae97c 100644 --- a/docs/build/reference/fixed-fixed-base-address.md +++ b/docs/build/reference/fixed-fixed-base-address.md @@ -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 diff --git a/docs/build/reference/fm-name-mapfile.md b/docs/build/reference/fm-name-mapfile.md index 139ec096a7a..18bab160d93 100644 --- a/docs/build/reference/fm-name-mapfile.md +++ b/docs/build/reference/fm-name-mapfile.md @@ -30,11 +30,9 @@ Global symbols in a mapfile usually have one or more leading underscores because 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 diff --git a/docs/build/reference/fp-name-dot-pch-file.md b/docs/build/reference/fp-name-dot-pch-file.md index 46696740aae..2f15689076c 100644 --- a/docs/build/reference/fp-name-dot-pch-file.md +++ b/docs/build/reference/fp-name-dot-pch-file.md @@ -24,7 +24,7 @@ If you don't specify an extension as part of the *pathname*, an extension of *pc 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** > **C/C++** > **Precompiled Headers** property page. +1. Select the **Configuration Properties** > **C/C++** > **Precompiled Headers** property page. 1. Modify the **Precompiled Header Output File** property. diff --git a/docs/build/reference/fr-fr-create-dot-sbr-file.md b/docs/build/reference/fr-fr-create-dot-sbr-file.md index 4edd41caf55..18ee204b7fa 100644 --- a/docs/build/reference/fr-fr-create-dot-sbr-file.md +++ b/docs/build/reference/fr-fr-create-dot-sbr-file.md @@ -39,7 +39,7 @@ If you do not specify `filename`, the .sbr file gets the same base name as the 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. In the navigation pane, choose the **C/C++**, **Browse Information** property page. +1. Select the **Configuration Properties** > **C/C++** > **Browse Information** property page. 1. Modify the **Browse Information File** or **Enable Browse Information** property. diff --git a/docs/build/reference/fs-force-synchronous-pdb-writes.md b/docs/build/reference/fs-force-synchronous-pdb-writes.md index c234e973783..c4b2b6d51dd 100644 --- a/docs/build/reference/fs-force-synchronous-pdb-writes.md +++ b/docs/build/reference/fs-force-synchronous-pdb-writes.md @@ -26,9 +26,7 @@ The [/MP](mp-build-with-multiple-processes.md) option enables **/FS** by default 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. Modify the **Additional Options** property to include `/FS` and then choose **OK**. diff --git a/docs/build/reference/fx-merge-injected-code.md b/docs/build/reference/fx-merge-injected-code.md index bbd07e7ed5d..2cfbde93dd3 100644 --- a/docs/build/reference/fx-merge-injected-code.md +++ b/docs/build/reference/fx-merge-injected-code.md @@ -51,9 +51,7 @@ If your program includes a header file that uses injected code, **/Fx** generate 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 **Expand Attributed Source** property. diff --git a/docs/build/reference/ga-optimize-for-windows-application.md b/docs/build/reference/ga-optimize-for-windows-application.md index 36b1139295c..c0f0de2ae02 100644 --- a/docs/build/reference/ga-optimize-for-windows-application.md +++ b/docs/build/reference/ga-optimize-for-windows-application.md @@ -26,11 +26,9 @@ Using **/GA** for a DLL can result in bad code generation. 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 diff --git a/docs/build/reference/gd-gr-gv-gz-calling-convention.md b/docs/build/reference/gd-gr-gv-gz-calling-convention.md index d2b60f93844..834a53189cf 100644 --- a/docs/build/reference/gd-gr-gv-gz-calling-convention.md +++ b/docs/build/reference/gd-gr-gv-gz-calling-convention.md @@ -79,7 +79,7 @@ For C, the **`__vectorcall`** naming convention uses the function name followed 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++** > **Advanced** property page. +1. Select the **Configuration Properties** > **C/C++** > **Advanced** property page. 1. Modify the **Calling Convention** property. diff --git a/docs/build/reference/ge-enable-stack-probes.md b/docs/build/reference/ge-enable-stack-probes.md index 54883f7cc38..e7d1d6c044f 100644 --- a/docs/build/reference/ge-enable-stack-probes.md +++ b/docs/build/reference/ge-enable-stack-probes.md @@ -28,11 +28,9 @@ This mechanism is useful if you rewrite the functionality of the stack probe. It 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 diff --git a/docs/build/reference/gf-eliminate-duplicate-strings.md b/docs/build/reference/gf-eliminate-duplicate-strings.md index 0934b1e2450..840adad9b67 100644 --- a/docs/build/reference/gf-eliminate-duplicate-strings.md +++ b/docs/build/reference/gf-eliminate-duplicate-strings.md @@ -41,9 +41,7 @@ char *t = "This is a character buffer"; 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 **Code Generation** property page. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. Modify the **Enable String Pooling** property. diff --git a/docs/build/reference/gh-enable-penter-hook-function.md b/docs/build/reference/gh-enable-penter-hook-function.md index 1045fdd6706..12a83774da7 100644 --- a/docs/build/reference/gh-enable-penter-hook-function.md +++ b/docs/build/reference/gh-enable-penter-hook-function.md @@ -30,7 +30,7 @@ This declaration isn't available for 64-bit projects. 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** > **C/C++** > **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. diff --git a/docs/build/reference/gh-enable-pexit-hook-function.md b/docs/build/reference/gh-enable-pexit-hook-function.md index b09a621f2b2..0b8ceeb8a71 100644 --- a/docs/build/reference/gh-enable-pexit-hook-function.md +++ b/docs/build/reference/gh-enable-pexit-hook-function.md @@ -32,7 +32,7 @@ This declaration isn't available for 64-bit projects. 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** > **C/C++** > **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. diff --git a/docs/build/reference/gr-enable-run-time-type-information.md b/docs/build/reference/gr-enable-run-time-type-information.md index 1ee95914023..ebdbb8f62fe 100644 --- a/docs/build/reference/gr-enable-run-time-type-information.md +++ b/docs/build/reference/gr-enable-run-time-type-information.md @@ -28,9 +28,7 @@ For more information about run-time type checking, see [Run-Time Type Informatio 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 **Language** property page. +1. Select the **Configuration Properties** > **C/C++** > **Language** property page. 1. Modify the **Enable Run-Time Type Info** property. diff --git a/docs/build/reference/gs-buffer-security-check.md b/docs/build/reference/gs-buffer-security-check.md index bcc99b372c5..9752dc5faa2 100644 --- a/docs/build/reference/gs-buffer-security-check.md +++ b/docs/build/reference/gs-buffer-security-check.md @@ -99,13 +99,9 @@ Even if you use **/GS**, always try to write secure code that has no buffer over ### To set this compiler option in Visual Studio -1. In **Solution Explorer**, right-click the project and then click **Properties**. +1. In **Solution Explorer**, right-click the project and then choose **Properties** to open the **Property Pages** dialog. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). - 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, click the **C/C++** folder. - -1. Click the **Code Generation** property page. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. Modify the **Buffer Security Check** property. diff --git a/docs/build/reference/guard-enable-control-flow-guard.md b/docs/build/reference/guard-enable-control-flow-guard.md index 6123080ebb9..b4d970ac8ca 100644 --- a/docs/build/reference/guard-enable-control-flow-guard.md +++ b/docs/build/reference/guard-enable-control-flow-guard.md @@ -35,7 +35,7 @@ Code compiled by using **/guard:cf** can be linked to libraries and object files 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 **Configuration Properties**, **C/C++**, **Code Generation**. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. Select the **Control Flow Guard** property. diff --git a/docs/build/reference/guard-enable-guard-checks.md b/docs/build/reference/guard-enable-guard-checks.md index 15cfe9f9dcd..85afea2c3c0 100644 --- a/docs/build/reference/guard-enable-guard-checks.md +++ b/docs/build/reference/guard-enable-guard-checks.md @@ -26,7 +26,7 @@ The /GUARD:CF option must be specified to both the compiler and linker to create 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 **Configuration Properties**, **Linker**, **Command Line**. +1. Select the **Configuration Properties** > **Linker** > **Command Line** property page. 1. In **Additional Options**, enter `/GUARD:CF`. diff --git a/docs/build/reference/gw-optimize-global-data.md b/docs/build/reference/gw-optimize-global-data.md index b110eb1d8a2..678495d1665 100644 --- a/docs/build/reference/gw-optimize-global-data.md +++ b/docs/build/reference/gw-optimize-global-data.md @@ -30,9 +30,7 @@ For more information, see [Introducing /Gw Compiler Switch](https://devblogs.mic 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. Modify the **Additional Options** property to include **/Gw** and then choose **OK**. diff --git a/docs/build/reference/gx-enable-exception-handling.md b/docs/build/reference/gx-enable-exception-handling.md index f2b8a381d97..14400a4d0e2 100644 --- a/docs/build/reference/gx-enable-exception-handling.md +++ b/docs/build/reference/gx-enable-exception-handling.md @@ -26,9 +26,9 @@ By default, **/EHsc**, the equivalent of **/GX**, is in effect when you compile 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. In the navigation pane, choose **Configuration Properties**, **C/C++**, **Command Line**. +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 diff --git a/docs/build/reference/gy-enable-function-level-linking.md b/docs/build/reference/gy-enable-function-level-linking.md index 11ae7be40a8..7dfd2998f09 100644 --- a/docs/build/reference/gy-enable-function-level-linking.md +++ b/docs/build/reference/gy-enable-function-level-linking.md @@ -33,9 +33,7 @@ Inline functions are always packaged if they are instantiated as calls (which oc 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 **Code Generation** property page. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. Modify the **Enable Function-Level Linking** property. diff --git a/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md b/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md index 1b7de0ec194..7bef045a1fb 100644 --- a/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md +++ b/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md @@ -26,11 +26,9 @@ Performs the same operations as the [/RTC (Run-Time Error Checks)](rtc-run-time- 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 diff --git a/docs/build/reference/heap-set-heap-size.md b/docs/build/reference/heap-set-heap-size.md index a758ef896a1..ef1b94e30f7 100644 --- a/docs/build/reference/heap-set-heap-size.md +++ b/docs/build/reference/heap-set-heap-size.md @@ -28,9 +28,7 @@ This functionality is also available via a module definition file with [HEAPSIZE 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 **System** property page. +1. Select the **Configuration Properties** > **Linker** > **System** property page. 1. Modify the **Heap Commit Size** property. diff --git a/docs/build/reference/homeparams-copy-register-parameters-to-stack.md b/docs/build/reference/homeparams-copy-register-parameters-to-stack.md index a2a140b415a..bb498d1bfef 100644 --- a/docs/build/reference/homeparams-copy-register-parameters-to-stack.md +++ b/docs/build/reference/homeparams-copy-register-parameters-to-stack.md @@ -28,7 +28,7 @@ In debug builds, the stack is always populated with parameters passed in registe 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** > **C/C++** > **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. diff --git a/docs/build/reference/hotpatch-create-hotpatchable-image.md b/docs/build/reference/hotpatch-create-hotpatchable-image.md index 443dfe56e12..2930f364f74 100644 --- a/docs/build/reference/hotpatch-create-hotpatchable-image.md +++ b/docs/build/reference/hotpatch-create-hotpatchable-image.md @@ -28,9 +28,7 @@ Because instructions are always two bytes or larger on the ARM architecture, and 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. Add the compiler option to the **Additional Options** box. diff --git a/docs/build/reference/idlout-name-midl-output-files.md b/docs/build/reference/idlout-name-midl-output-files.md index 3b605b489c2..38b277f76df 100644 --- a/docs/build/reference/idlout-name-midl-output-files.md +++ b/docs/build/reference/idlout-name-midl-output-files.md @@ -44,9 +44,7 @@ If you specify neither /IDLOUT nor /TLBOUT, the linker will create vc70.tlb, vc7 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 **Embedded IDL** property page. +1. Select the **Configuration Properties** > **Linker** > **Embedded IDL** property page. 1. Modify the **Merge IDL Base File Name** property. diff --git a/docs/build/reference/ignore-ignore-specific-warnings.md b/docs/build/reference/ignore-ignore-specific-warnings.md index b3cbce05dc7..e7439cde9f5 100644 --- a/docs/build/reference/ignore-ignore-specific-warnings.md +++ b/docs/build/reference/ignore-ignore-specific-warnings.md @@ -49,7 +49,7 @@ In general, linker warnings that can't be ignored represent build failures, comm 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. In the **Linker** folder, select the **Command Line** property page. +1. Select the **Configuration Properties** > **Linker** > **Command Line** property page. 1. Modify the **Additional Options** property. diff --git a/docs/build/reference/ignoreidl-don-t-process-attributes-into-midl.md b/docs/build/reference/ignoreidl-don-t-process-attributes-into-midl.md index 14a634abc89..763269225c2 100644 --- a/docs/build/reference/ignoreidl-don-t-process-attributes-into-midl.md +++ b/docs/build/reference/ignoreidl-don-t-process-attributes-into-midl.md @@ -20,9 +20,7 @@ The /IGNOREIDL option specifies that any [IDL attributes](../../windows/attribut 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 **Embedded IDL** property page. +1. Select the **Configuration Properties** > **Linker** > **Embedded IDL** property page. 1. Modify the **Ignore Embedded IDL** property. diff --git a/docs/build/reference/implib-name-import-library.md b/docs/build/reference/implib-name-import-library.md index c4c63f6f12c..9bf0f23ef31 100644 --- a/docs/build/reference/implib-name-import-library.md +++ b/docs/build/reference/implib-name-import-library.md @@ -31,9 +31,7 @@ LINK ignores /IMPLIB when an import library is not being created. If no exports 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 **Import Library** property. diff --git a/docs/build/reference/include-force-symbol-references.md b/docs/build/reference/include-force-symbol-references.md index fd91c0186f1..701c6726b1b 100644 --- a/docs/build/reference/include-force-symbol-references.md +++ b/docs/build/reference/include-force-symbol-references.md @@ -31,9 +31,7 @@ Specifying a symbol with this option overrides the removal of that symbol by [/O 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 **Force Symbol References** property. diff --git a/docs/build/reference/incremental-link-incrementally.md b/docs/build/reference/incremental-link-incrementally.md index ac7a8fa768a..ef569a12463 100644 --- a/docs/build/reference/incremental-link-incrementally.md +++ b/docs/build/reference/incremental-link-incrementally.md @@ -61,9 +61,7 @@ Additionally, LINK performs a full link if any of the following situations occur 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 **General** property page. +1. Select the **Configuration Properties** > **Linker** > **General** property page. 1. Modify the **Enable Incremental Linking** property. diff --git a/docs/build/reference/inferasanlibs.md b/docs/build/reference/inferasanlibs.md index be79f7e7d84..5c952da5eed 100644 --- a/docs/build/reference/inferasanlibs.md +++ b/docs/build/reference/inferasanlibs.md @@ -23,7 +23,7 @@ The **`/INFERASANLIBS`** option is available beginning in Visual Studio 2019 ver ### To set the **`/INFERASANLIBS`** linker option in the Visual Studio development environment -1. Open your project's **Property Pages** dialog box. +1. Open your 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** > **Command Line** property page. diff --git a/docs/build/reference/j-default-char-type-is-unsigned.md b/docs/build/reference/j-default-char-type-is-unsigned.md index 176466211ef..8de5cdecf1b 100644 --- a/docs/build/reference/j-default-char-type-is-unsigned.md +++ b/docs/build/reference/j-default-char-type-is-unsigned.md @@ -29,11 +29,11 @@ ANSI C and C++ do not require a specific implementation of the **`char`** type. ### To set this compiler option in the Visual Studio development environment -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties** to open the project **Property Pages** dialog box. -1. In the project **Property Pages** dialog box, in the left pane under **Configuration Properties**, expand **C/C++** and then select **Command Line**. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. -1. In the **Additional Options** pane, specify the **/J** compiler option. +1. In **Additional Options**, enter the **/J** compiler option. ### To set this compiler option programmatically diff --git a/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md b/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md index a0853c67607..cb7054b09ac 100644 --- a/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md +++ b/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md @@ -41,11 +41,9 @@ 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. 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 diff --git a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md index c16de36fd90..c0bed7a038c 100644 --- a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md +++ b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md @@ -47,11 +47,9 @@ 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. 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 diff --git a/docs/build/reference/largeaddressaware-handle-large-addresses.md b/docs/build/reference/largeaddressaware-handle-large-addresses.md index c11b9388ca4..e63c9bf10e1 100644 --- a/docs/build/reference/largeaddressaware-handle-large-addresses.md +++ b/docs/build/reference/largeaddressaware-handle-large-addresses.md @@ -22,9 +22,7 @@ If an application was linked with /LARGEADDRESSAWARE, DUMPBIN [/HEADERS](headers 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 **System** property page. +1. Select the **Configuration Properties** > **Linker** > **System** property page. 1. Modify the **Enable Large Addresses** property. diff --git a/docs/build/reference/libpath-additional-libpath.md b/docs/build/reference/libpath-additional-libpath.md index 29e89c35b9f..1ac84a54858 100644 --- a/docs/build/reference/libpath-additional-libpath.md +++ b/docs/build/reference/libpath-additional-libpath.md @@ -25,9 +25,7 @@ Use the /LIBPATH option to override the environment library path. The linker wil 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 **General** property page. +1. Select the **Configuration Properties** > **Linker** > **General** property page. 1. Modify the **Additional Library Directories** property. diff --git a/docs/build/reference/machine-specify-target-platform.md b/docs/build/reference/machine-specify-target-platform.md index b8499f56a4a..f5cf171020b 100644 --- a/docs/build/reference/machine-specify-target-platform.md +++ b/docs/build/reference/machine-specify-target-platform.md @@ -22,9 +22,7 @@ Usually, you don't have to specify the /MACHINE option. LINK infers the machine 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 **Target Machine** property. diff --git a/docs/build/reference/manifest-create-side-by-side-assembly-manifest.md b/docs/build/reference/manifest-create-side-by-side-assembly-manifest.md index 8c187c5bcba..6b8a9ce9ea6 100644 --- a/docs/build/reference/manifest-create-side-by-side-assembly-manifest.md +++ b/docs/build/reference/manifest-create-side-by-side-assembly-manifest.md @@ -36,11 +36,7 @@ If you specify /MANIFEST, the name of the manifest file is the same as the name 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 **Manifest File** property page. +1. Select the **Configuration Properties** > **Linker** > **Manifest File** property page. 1. Modify the **Generate Manifest** property. diff --git a/docs/build/reference/manifestfile-name-manifest-file.md b/docs/build/reference/manifestfile-name-manifest-file.md index 0298a5548b2..acd17845b98 100644 --- a/docs/build/reference/manifestfile-name-manifest-file.md +++ b/docs/build/reference/manifestfile-name-manifest-file.md @@ -22,11 +22,7 @@ ms.assetid: befa5ab2-a9cf-4c9b-969a-e7b4a930f08d 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 **Manifest File** property page. +1. Select the **Configuration Properties** > **Linker** > **Manifest File** property page. 1. Modify the **Manifest File** property. diff --git a/docs/build/reference/map-generate-mapfile.md b/docs/build/reference/map-generate-mapfile.md index 981539b959a..fe7b049ca41 100644 --- a/docs/build/reference/map-generate-mapfile.md +++ b/docs/build/reference/map-generate-mapfile.md @@ -41,9 +41,7 @@ The [/MAPINFO](mapinfo-include-information-in-mapfile.md) option specifies addit 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 **Generate Map File** property. diff --git a/docs/build/reference/mapinfo-include-information-in-mapfile.md b/docs/build/reference/mapinfo-include-information-in-mapfile.md index 7e675dfe6d4..7c4c3aced39 100644 --- a/docs/build/reference/mapinfo-include-information-in-mapfile.md +++ b/docs/build/reference/mapinfo-include-information-in-mapfile.md @@ -20,9 +20,7 @@ The /MAPINFO option tells the linker to include the specified information in a m 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 of the **Map Exports** properties: diff --git a/docs/build/reference/merge-combine-sections.md b/docs/build/reference/merge-combine-sections.md index 2c3d38a44f3..0cef6fa371b 100644 --- a/docs/build/reference/merge-combine-sections.md +++ b/docs/build/reference/merge-combine-sections.md @@ -24,9 +24,7 @@ The /MERGE option is useful for creating VxDs and overriding the compiler-genera 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 **Merge Sections** property. diff --git a/docs/build/reference/natvis-add-natvis-to-pdb.md b/docs/build/reference/natvis-add-natvis-to-pdb.md index 41b5902f53c..326072d5fa4 100644 --- a/docs/build/reference/natvis-add-natvis-to-pdb.md +++ b/docs/build/reference/natvis-add-natvis-to-pdb.md @@ -25,9 +25,9 @@ LINK ignores /NATVIS when a PDB file is not created by using a [/DEBUG](debug-ge 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. Add the /NATVIS option to the **Additional Options** text box. +1. Add the *`/NATVIS`* option to the **Additional Options** text box. ### To set this linker option programmatically diff --git a/docs/build/reference/noassembly-create-a-msil-module.md b/docs/build/reference/noassembly-create-a-msil-module.md index 9bd83ccf61d..c101b214b08 100644 --- a/docs/build/reference/noassembly-create-a-msil-module.md +++ b/docs/build/reference/noassembly-create-a-msil-module.md @@ -38,9 +38,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 **Advanced** property page. +1. Select the **Configuration Properties** > **Linker** > **Advanced** property page. 1. Modify the **Turn Off Assembly Generation** property. diff --git a/docs/build/reference/noentry-no-entry-point.md b/docs/build/reference/noentry-no-entry-point.md index e7a1e556927..8c5afccd3da 100644 --- a/docs/build/reference/noentry-no-entry-point.md +++ b/docs/build/reference/noentry-no-entry-point.md @@ -22,9 +22,7 @@ Use this option to prevent LINK from linking a reference to `_main` into the DLL 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 **Advanced** property page. +1. Select the **Configuration Properties** > **Linker** > **Advanced** property page. 1. Modify the **No Entry Point** property. diff --git a/docs/build/reference/nologo-suppress-startup-banner-c-cpp.md b/docs/build/reference/nologo-suppress-startup-banner-c-cpp.md index 14b08f5d9aa..df6bf589671 100644 --- a/docs/build/reference/nologo-suppress-startup-banner-c-cpp.md +++ b/docs/build/reference/nologo-suppress-startup-banner-c-cpp.md @@ -22,9 +22,7 @@ Suppresses the display of the copyright banner when the compiler starts up and d 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 **General** property page. +1. Select the **Configuration Properties** > **C/C++** > **General** property page. 1. Modify the **Suppress Startup Banner** property. diff --git a/docs/build/reference/od-disable-debug.md b/docs/build/reference/od-disable-debug.md index 942da4e4106..d7da05e69c0 100644 --- a/docs/build/reference/od-disable-debug.md +++ b/docs/build/reference/od-disable-debug.md @@ -24,9 +24,7 @@ This option is the default. Because **/Od** suppresses code movement, it simplif 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 **Optimization** property page. +1. Select the **Configuration Properties** > **C/C++** > **Optimization** property page. 1. Modify the **Optimization** property. diff --git a/docs/build/reference/oi-generate-intrinsic-functions.md b/docs/build/reference/oi-generate-intrinsic-functions.md index 132e98f0ef7..7eb1b3e971b 100644 --- a/docs/build/reference/oi-generate-intrinsic-functions.md +++ b/docs/build/reference/oi-generate-intrinsic-functions.md @@ -38,9 +38,7 @@ You also use [intrinsic](../../preprocessor/intrinsic.md) to create intrinsic fu 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 **Optimization** property page. +1. Select the **Configuration Properties** > **C/C++** > **Optimization** property page. 1. Modify the **Enable Intrinsic Functions** property. diff --git a/docs/build/reference/out-output-file-name.md b/docs/build/reference/out-output-file-name.md index 2fdaa5b635e..f43bb724dc7 100644 --- a/docs/build/reference/out-output-file-name.md +++ b/docs/build/reference/out-output-file-name.md @@ -29,9 +29,7 @@ This option the default base name for a .mapfile or import library. For details, 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 **General** property page. +1. Select the **Configuration Properties** > **Linker** > **General** property page. 1. Modify the **Output File** property. diff --git a/docs/build/reference/p-preprocess-to-a-file.md b/docs/build/reference/p-preprocess-to-a-file.md index 17166302a5b..e65e5a00d03 100644 --- a/docs/build/reference/p-preprocess-to-a-file.md +++ b/docs/build/reference/p-preprocess-to-a-file.md @@ -28,9 +28,7 @@ The **/P** option suppresses compilation. It does not produce an .obj file, even 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. diff --git a/docs/build/reference/pdb-use-program-database.md b/docs/build/reference/pdb-use-program-database.md index 0583eac8964..3801076b0d2 100644 --- a/docs/build/reference/pdb-use-program-database.md +++ b/docs/build/reference/pdb-use-program-database.md @@ -31,9 +31,7 @@ For more information, see [.pdb Files as Linker Input](dot-pdb-files-as-linker-i 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 **Generate Program Database File** property. diff --git a/docs/build/reference/pdbstripped-strip-private-symbols.md b/docs/build/reference/pdbstripped-strip-private-symbols.md index 9ef4a2b0de6..fd93071a852 100644 --- a/docs/build/reference/pdbstripped-strip-private-symbols.md +++ b/docs/build/reference/pdbstripped-strip-private-symbols.md @@ -43,9 +43,7 @@ If you do not create a PDB file, /PDBSTRIPPED is ignored. 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 **Strip Private Symbols** property. diff --git a/docs/build/reference/profile-performance-tools-profiler.md b/docs/build/reference/profile-performance-tools-profiler.md index 39f0ab05616..c2c656139bb 100644 --- a/docs/build/reference/profile-performance-tools-profiler.md +++ b/docs/build/reference/profile-performance-tools-profiler.md @@ -36,11 +36,7 @@ Produces an output file that can be used with the Performance Tools profiler. 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 **Profile** property. diff --git a/docs/build/reference/qfast-transcendentals-force-fast-transcendentals.md b/docs/build/reference/qfast-transcendentals-force-fast-transcendentals.md index 58d2b66e76d..7259b4b09e0 100644 --- a/docs/build/reference/qfast-transcendentals-force-fast-transcendentals.md +++ b/docs/build/reference/qfast-transcendentals-force-fast-transcendentals.md @@ -26,9 +26,7 @@ This option is incompatible with **/fp:strict**. See [/fp (Specify Floating-Poin 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 **Command Line** property page. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. Type the compiler option in the **Additional Options** box. diff --git a/docs/build/reference/qifist-suppress-ftol.md b/docs/build/reference/qifist-suppress-ftol.md index 9110ed79a9f..d6194caced4 100644 --- a/docs/build/reference/qifist-suppress-ftol.md +++ b/docs/build/reference/qifist-suppress-ftol.md @@ -44,9 +44,7 @@ The **/QIfist** option is deprecated starting in Visual Studio 2005. The compile 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 **Command Line** property page. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. Type the compiler option in the **Additional Options** box. diff --git a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md index f695ab4aa73..d7450ad4a02 100644 --- a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md +++ b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md @@ -24,11 +24,9 @@ This option has no effect if **/fp:except** is not also specified. If you specif 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 diff --git a/docs/build/reference/qpar-auto-parallelizer.md b/docs/build/reference/qpar-auto-parallelizer.md index 85092c119cc..edbf3c84963 100644 --- a/docs/build/reference/qpar-auto-parallelizer.md +++ b/docs/build/reference/qpar-auto-parallelizer.md @@ -25,9 +25,9 @@ For information about how to enable output messages for the auto-parallelizer, s ### To set the /Qpar compiler option in Visual Studio -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +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. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. In the **Additional Options** box, enter `/Qpar`. diff --git a/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md b/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md index 4e6ff77efc1..19189d661d1 100644 --- a/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md +++ b/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md @@ -28,7 +28,7 @@ Messages are reported to stdout. If no informational messages are reported, then 1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. -1. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. In the **Additional Options** box, enter `/Qpar-report:1` or `/Qpar-report:2`. diff --git a/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md b/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md index 825d80e0fbe..ca032a01a5e 100644 --- a/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md +++ b/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md @@ -26,9 +26,9 @@ For information about reason codes and messages, see [Vectorizer and Parallelize ### To set the /Qvec-report compiler option in Visual Studio -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +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. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. In the **Additional Options** box, enter `/Qvec-report:1` or `/Qvec-report:2`. diff --git a/docs/build/reference/source-charset-set-source-character-set.md b/docs/build/reference/source-charset-set-source-character-set.md index 478458e69b4..2fa2b0d6d44 100644 --- a/docs/build/reference/source-charset-set-source-character-set.md +++ b/docs/build/reference/source-charset-set-source-character-set.md @@ -36,9 +36,9 @@ If you want to set both the source character set and the execution character set ### To set this compiler option in the Visual Studio development environment -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 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**, **C/C++**, **Command Line** folder. +1. Select the **Configuration Properties** > **C/C++** > **Code Generation** property page. 1. In **Additional Options**, add the **/source-charset** option, and specify your preferred encoding. diff --git a/docs/build/reference/stack-stack-allocations.md b/docs/build/reference/stack-stack-allocations.md index 228a0b11c13..995fbeeefd3 100644 --- a/docs/build/reference/stack-stack-allocations.md +++ b/docs/build/reference/stack-stack-allocations.md @@ -28,9 +28,7 @@ Another way to set the size of the stack is with the [STACKSIZE](stacksize.md) 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. Select the **Linker** folder. - -1. Select the **System** property page. +1. Select the **Configuration Properties** > **Linker** > **System** property page. 1. Modify one of the following properties: diff --git a/docs/build/reference/std-specify-language-standard-version.md b/docs/build/reference/std-specify-language-standard-version.md index 584e6d4b645..80716ffc5c0 100644 --- a/docs/build/reference/std-specify-language-standard-version.md +++ b/docs/build/reference/std-specify-language-standard-version.md @@ -94,7 +94,7 @@ The compiler doesn't support any optional features of ISO C11. Several of these 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 **Configuration Properties**, **C/C++**, **Language**. +1. Select the **Configuration Properties** > **C/C++** > **Language** property page. 1. In **C++ Language Standard** (or for C, **C Language Standard**), choose the language standard to support from the dropdown control, then choose **OK** or **Apply** to save your changes. diff --git a/docs/build/reference/stub-ms-dos-stub-file-name.md b/docs/build/reference/stub-ms-dos-stub-file-name.md index 3b6b113ceb6..a05a231e1bc 100644 --- a/docs/build/reference/stub-ms-dos-stub-file-name.md +++ b/docs/build/reference/stub-ms-dos-stub-file-name.md @@ -37,11 +37,9 @@ When building a virtual device driver, *filename* allows the user to specify a f 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 diff --git a/docs/build/reference/subsystem-specify-subsystem.md b/docs/build/reference/subsystem-specify-subsystem.md index e075bbe6dc8..034b97d9619 100644 --- a/docs/build/reference/subsystem-specify-subsystem.md +++ b/docs/build/reference/subsystem-specify-subsystem.md @@ -63,11 +63,9 @@ The optional minimum and default *major* and *minor* version numbers for the sub 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** > **System** property page. -1. Select the **System** property page. - -1. Modify the `SubSystem` property. +1. Modify the **SubSystem** property. ### To set this linker option programmatically diff --git a/docs/build/reference/swaprun-load-linker-output-to-swap-file.md b/docs/build/reference/swaprun-load-linker-output-to-swap-file.md index 11c601db807..45bedc73fd5 100644 --- a/docs/build/reference/swaprun-load-linker-output-to-swap-file.md +++ b/docs/build/reference/swaprun-load-linker-output-to-swap-file.md @@ -22,9 +22,7 @@ If NET is specified, the operating system will first copy the binary image from 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 **System** property page. +1. Select the **Configuration Properties** > **Linker** > **System** property page. 1. Modify one of the following properties: diff --git a/docs/build/reference/tlbid-specify-resource-id-for-typelib.md b/docs/build/reference/tlbid-specify-resource-id-for-typelib.md index 3201fe2e300..d799af702e8 100644 --- a/docs/build/reference/tlbid-specify-resource-id-for-typelib.md +++ b/docs/build/reference/tlbid-specify-resource-id-for-typelib.md @@ -27,9 +27,7 @@ If this resource ID conflicts with one of your existing resources, you can speci 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 **Embedded IDL** property page. +1. Select the **Configuration Properties** > **Linker** > **Embedded IDL** property page. 1. Modify the **TypeLib Resource ID** property. diff --git a/docs/build/reference/tlbout-name-dot-tlb-file.md b/docs/build/reference/tlbout-name-dot-tlb-file.md index 139152f868c..a9fde3067bb 100644 --- a/docs/build/reference/tlbout-name-dot-tlb-file.md +++ b/docs/build/reference/tlbout-name-dot-tlb-file.md @@ -32,9 +32,7 @@ If /TLBOUT is not specified, the .tlb file will get its name from [/IDLOUT](idlo 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 **Embedded IDL** property page. +1. Select the **Configuration Properties** > **Linker** > **Embedded IDL** property page. 1. Modify the **Type Library** property. diff --git a/docs/build/reference/tsaware-create-terminal-server-aware-application.md b/docs/build/reference/tsaware-create-terminal-server-aware-application.md index 80a038f78fc..e5d398e9d6a 100644 --- a/docs/build/reference/tsaware-create-terminal-server-aware-application.md +++ b/docs/build/reference/tsaware-create-terminal-server-aware-application.md @@ -32,9 +32,7 @@ If an application was linked with /TSAWARE, DUMPBIN [/HEADERS](headers.md) will 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 **System** property page. +1. Select the **Configuration Properties** > **Linker** > **System** property page. 1. Modify the **Terminal Server** property. diff --git a/docs/build/reference/v-version-number.md b/docs/build/reference/v-version-number.md index 81d07b56b51..1ca90f5449d 100644 --- a/docs/build/reference/v-version-number.md +++ b/docs/build/reference/v-version-number.md @@ -33,11 +33,9 @@ The **/V** option is deprecated beginning in Visual Studio 2005; **/V** was prim 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 diff --git a/docs/build/reference/validate-charset-validate-for-compatible-characters.md b/docs/build/reference/validate-charset-validate-for-compatible-characters.md index e48bcf223a5..34faa7f57fe 100644 --- a/docs/build/reference/validate-charset-validate-for-compatible-characters.md +++ b/docs/build/reference/validate-charset-validate-for-compatible-characters.md @@ -26,9 +26,9 @@ Visual Studio uses UTF-8 as the internal character encoding during conversion be ### To set this compiler option in the Visual Studio development environment -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 project's **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 **/validate-charset** option, and specify your preferred encoding. diff --git a/docs/build/reference/vcpp-directories-property-page.md b/docs/build/reference/vcpp-directories-property-page.md index d8673bcc2c0..a09151f1181 100644 --- a/docs/build/reference/vcpp-directories-property-page.md +++ b/docs/build/reference/vcpp-directories-property-page.md @@ -15,8 +15,10 @@ For the Linux version of this page, see [VC++ Directories (Linux C++)](../../lin To access the **VC++ Directories** property page: 1. If the **Solution Explorer** window is not visible, then on the main menu choose **View** > **Solution Explorer**. -1. Right-click on a project node (not the top-level solution) and choose **Properties**. -1. In the left pane of the **Property Pages** dialog box, select **Configuration Properties** > **VC++ Directories**. + +1. Right-click on a project node (not the top-level solution) and choose **Properties** to open the **Property Pages** dialog box. + +1. Select the **Configuration Properties** > **VC++ Directories** property page. VC++ Directories properties apply to a project, not the top-level solution node. If you do not see **VC++ Directories** under **Configuration Properties**, select a C++ project node in the **Solution Explorer** window: diff --git a/docs/build/reference/vd-disable-construction-displacements.md b/docs/build/reference/vd-disable-construction-displacements.md index 9a81ad55b03..e0a92f10aba 100644 --- a/docs/build/reference/vd-disable-construction-displacements.md +++ b/docs/build/reference/vd-disable-construction-displacements.md @@ -43,11 +43,9 @@ These options affect entire source files. Use [vtordisp](../../preprocessor/vtor 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 diff --git a/docs/build/reference/version-version-information.md b/docs/build/reference/version-version-information.md index 779441e04aa..9d3cbf2c2ce 100644 --- a/docs/build/reference/version-version-information.md +++ b/docs/build/reference/version-version-information.md @@ -31,9 +31,7 @@ Another way to insert a version number is with the [VERSION](version-c-cpp.md) m 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 **General** property page. +1. Select the **Configuration Properties** > **Linker** > **General** property page. 1. Modify the **Version** property. diff --git a/docs/build/reference/wholearchive-include-all-library-object-files.md b/docs/build/reference/wholearchive-include-all-library-object-files.md index 3f009a9e411..4a1addad374 100644 --- a/docs/build/reference/wholearchive-include-all-library-object-files.md +++ b/docs/build/reference/wholearchive-include-all-library-object-files.md @@ -30,9 +30,9 @@ The /WHOLEARCHIVE option was introduced in Visual Studio 2015 Update 2. 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. Select the **Command Line** property page under **Configuration Properties**, **Linker**. +1. Select the **Configuration Properties** > **Linker** > **Command Line** property page. -1. Add the /WHOLEARCHIVE option to the **Additional Options** text box. +1. Add the *`/WHOLEARCHIVE`* option to the **Additional Options** text box. ## See also diff --git a/docs/build/reference/winmddelaysign-partially-sign-a-winmd.md b/docs/build/reference/winmddelaysign-partially-sign-a-winmd.md index 9095c1608cb..5a7b4185022 100644 --- a/docs/build/reference/winmddelaysign-partially-sign-a-winmd.md +++ b/docs/build/reference/winmddelaysign-partially-sign-a-winmd.md @@ -21,9 +21,7 @@ Resembles the [/DELAYSIGN](delaysign-partially-sign-an-assembly.md) linker optio 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 **Windows Metadata** property page. +1. Select the **Configuration Properties** > **Linker** > **Windows Metadata** property page. 1. In the **Windows Metadata Delay Sign** drop-down list box, select the option you want. diff --git a/docs/build/reference/winmdfile-specify-winmd-file.md b/docs/build/reference/winmdfile-specify-winmd-file.md index 68f875d874a..fb489848b54 100644 --- a/docs/build/reference/winmdfile-specify-winmd-file.md +++ b/docs/build/reference/winmdfile-specify-winmd-file.md @@ -21,9 +21,7 @@ Use the value that is specified in `filename` to override the default .winmd fil 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 **Windows Metadata** property page. +1. Select the **Configuration Properties** > **Linker** > **Windows Metadata** property page. 1. In the **Windows Metadata File** box, enter the file location. diff --git a/docs/build/reference/winmdkeycontainer-specify-key-container.md b/docs/build/reference/winmdkeycontainer-specify-key-container.md index 259e74d06fc..f6d8d3fa7d8 100644 --- a/docs/build/reference/winmdkeycontainer-specify-key-container.md +++ b/docs/build/reference/winmdkeycontainer-specify-key-container.md @@ -21,9 +21,7 @@ Resembles the [/KEYCONTAINER](keycontainer-specify-a-key-container-to-sign-an-as 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 **Windows Metadata** property page. +1. Select the **Configuration Properties** > **Linker** > **Windows Metadata** property page. 1. In the **Windows Metadata Key Container** box, enter the location. diff --git a/docs/build/reference/winmdkeyfile-specify-winmd-key-file.md b/docs/build/reference/winmdkeyfile-specify-winmd-key-file.md index 1933858cfbf..e007127f701 100644 --- a/docs/build/reference/winmdkeyfile-specify-winmd-key-file.md +++ b/docs/build/reference/winmdkeyfile-specify-winmd-key-file.md @@ -21,9 +21,7 @@ Resembles the [/KEYFILE](keyfile-specify-key-or-key-pair-to-sign-an-assembly.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. Select the **Linker** folder. - -1. Select the **Windows Metadata** property page. +1. Select the **Configuration Properties** > **Linker** > **Windows Metadata** property page. 1. In the **Windows Metadata Key File** box, enter the file location. diff --git a/docs/build/reference/wl-enable-one-line-diagnostics.md b/docs/build/reference/wl-enable-one-line-diagnostics.md index 15e4f794729..7dcb9e6854f 100644 --- a/docs/build/reference/wl-enable-one-line-diagnostics.md +++ b/docs/build/reference/wl-enable-one-line-diagnostics.md @@ -36,11 +36,9 @@ int main() { 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** > **Linker** > **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 diff --git a/docs/build/reference/wp64-detect-64-bit-portability-issues.md b/docs/build/reference/wp64-detect-64-bit-portability-issues.md index e904ece2704..4d7e88673d1 100644 --- a/docs/build/reference/wp64-detect-64-bit-portability-issues.md +++ b/docs/build/reference/wp64-detect-64-bit-portability-issues.md @@ -35,13 +35,9 @@ If you regularly compile your application by using a compiler that builds 64-bit ### To set this compiler option in the Visual Studio development environment -1. Open the project **Property Pages** dialog box. +1. Open the project's **Property Pages** dialog box. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). - For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). - -1. Click the **C/C++** folder. - -1. Click the **Command Line** property page. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. Modify the **Additional Options** box to include **/Wp64**. diff --git a/docs/build/reference/wx-treat-linker-warnings-as-errors.md b/docs/build/reference/wx-treat-linker-warnings-as-errors.md index af751ce3880..8ff28f13f20 100644 --- a/docs/build/reference/wx-treat-linker-warnings-as-errors.md +++ b/docs/build/reference/wx-treat-linker-warnings-as-errors.md @@ -24,11 +24,9 @@ By default, **/WX** is not in effect. To treat linker warnings as errors, specif 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 diff --git a/docs/build/reference/xdcmake-reference.md b/docs/build/reference/xdcmake-reference.md index d75d82876cf..21b8494c817 100644 --- a/docs/build/reference/xdcmake-reference.md +++ b/docs/build/reference/xdcmake-reference.md @@ -14,9 +14,9 @@ xdcmake.exe is a program that compiles .xdc files into an .xml file. An .xdc fil 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** folder. +1. Select the **Configuration Properties** > **XML Document Comments** property page. -1. Click the **XML Document Comments** property page. +1. Enter options in the property page. > [!NOTE] > xdcmake.exe options at the command line differ from the options when xdcmake.exe is used in the development environment (property pages). For information on using xdcmake.exe in the development environment, see [XML Document Generator Tool Property Pages](xml-document-generator-tool-property-pages.md). diff --git a/docs/build/reference/y-ignore-precompiled-header-options.md b/docs/build/reference/y-ignore-precompiled-header-options.md index a29fb08c445..58eb9c6d7e0 100644 --- a/docs/build/reference/y-ignore-precompiled-header-options.md +++ b/docs/build/reference/y-ignore-precompiled-header-options.md @@ -28,11 +28,9 @@ For more information on precompiled headers, see: 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 diff --git a/docs/build/reference/yd-place-debug-information-in-object-file.md b/docs/build/reference/yd-place-debug-information-in-object-file.md index 40e64e0b655..b3e9699bb7c 100644 --- a/docs/build/reference/yd-place-debug-information-in-object-file.md +++ b/docs/build/reference/yd-place-debug-information-in-object-file.md @@ -36,11 +36,9 @@ For more information on precompiled headers, see: 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 diff --git a/docs/build/reference/z7-zi-zi-debug-information-format.md b/docs/build/reference/z7-zi-zi-debug-information-format.md index aa8d8af91f0..2a6a00bde28 100644 --- a/docs/build/reference/z7-zi-zi-debug-information-format.md +++ b/docs/build/reference/z7-zi-zi-debug-information-format.md @@ -58,7 +58,7 @@ The **`/ZI`** option forces both the [`/Gy` (Enable Function-Level Linking)](gy- 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** > **C/C++** > **General** property page. +1. Select the **Configuration Properties** > **C/C++** > **General** property page. 1. Modify the **Debug Information Format** property. Choose **OK** to save your changes. diff --git a/docs/build/reference/za-ze-disable-language-extensions.md b/docs/build/reference/za-ze-disable-language-extensions.md index bb26d9ccf26..9d1e2a35efd 100644 --- a/docs/build/reference/za-ze-disable-language-extensions.md +++ b/docs/build/reference/za-ze-disable-language-extensions.md @@ -34,7 +34,7 @@ For more information about conformance issues with Visual C++, see [Nonstandard 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. In the navigation pane, choose **Configuration Properties** > **C/C++** > **Language**. +1. Select the **Configuration Properties** > **C/C++** > **Language** property page. 1. Modify the **Disable Language Extensions** property. diff --git a/docs/build/reference/zg-generate-function-prototypes.md b/docs/build/reference/zg-generate-function-prototypes.md index f7d30575b44..1a3a71911cf 100644 --- a/docs/build/reference/zg-generate-function-prototypes.md +++ b/docs/build/reference/zg-generate-function-prototypes.md @@ -39,11 +39,9 @@ The **/Zg** option was deprecated in Visual Studio 2005 and has been removed in 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 diff --git a/docs/build/reference/zl-omit-default-library-name.md b/docs/build/reference/zl-omit-default-library-name.md index 56786d36326..15fd5cc98d2 100644 --- a/docs/build/reference/zl-omit-default-library-name.md +++ b/docs/build/reference/zl-omit-default-library-name.md @@ -46,9 +46,7 @@ void Test() { 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 **Omit Default Library Names** property. diff --git a/docs/build/reference/zm-specify-precompiled-header-memory-allocation-limit.md b/docs/build/reference/zm-specify-precompiled-header-memory-allocation-limit.md index 3aede41bb93..0eef814ed42 100644 --- a/docs/build/reference/zm-specify-precompiled-header-memory-allocation-limit.md +++ b/docs/build/reference/zm-specify-precompiled-header-memory-allocation-limit.md @@ -47,7 +47,7 @@ The following table shows how the *factor* argument affects the memory allocatio 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. In the navigation pane, select **Configuration Properties** > **C/C++** > **Command Line**. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. Enter the **/Zm** compiler option in the **Additional Options** box. diff --git a/docs/build/reference/zo-enhance-optimized-debugging.md b/docs/build/reference/zo-enhance-optimized-debugging.md index 8b99f5b4fd1..c698def89f3 100644 --- a/docs/build/reference/zo-enhance-optimized-debugging.md +++ b/docs/build/reference/zo-enhance-optimized-debugging.md @@ -26,9 +26,7 @@ The **/Zo** switch is available starting in Visual Studio 2013 Update 3, and it 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 **Command Line** property page. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. 1. Modify the **Additional Options** property to include `/Zo` and then choose **OK**. diff --git a/docs/build/reference/zs-syntax-check-only.md b/docs/build/reference/zs-syntax-check-only.md index 7319c2b46e8..2cf2237e5ee 100644 --- a/docs/build/reference/zs-syntax-check-only.md +++ b/docs/build/reference/zs-syntax-check-only.md @@ -26,11 +26,9 @@ The **/Zs** option provides a quick way to find and correct syntax errors before 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 diff --git a/docs/data/oledb/debugging-your-provider.md b/docs/data/oledb/debugging-your-provider.md index 0d2b9fa6703..fcd4f1da71e 100644 --- a/docs/data/oledb/debugging-your-provider.md +++ b/docs/data/oledb/debugging-your-provider.md @@ -17,11 +17,11 @@ There are two ways to debug your provider: 1. Open the provider project. -1. On the **Projects** menu, click **Properties**. +1. On the **Projects** menu, select **Properties**. -1. In the **Property Pages** dialog box, click the **Debugging** tab. +1. In the **Property Pages** dialog box, select the **Configuration Properties** > **Debugging** property page. -1. Select options as required, click **OK**. +1. Select options as required, then choose **OK**. 1. Set breakpoints, and then debug as usual. diff --git a/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md b/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md index 23935daf61a..14d59ab612a 100644 --- a/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md +++ b/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md @@ -25,7 +25,7 @@ The process that `CWinFormsDialog` uses to host the user control is the similar In **Solution Explorer**, right-click the **MFC03** project node, and choose **Properties**. The **Property Pages** dialog box appears. - In the **Property Pages** dialog box, in the **Configuration Properties** tree control, select **General**, then in the **Project Defaults** section, set **Common Language Runtime support** to **Common Language Runtime Support (/clr)**. Click **OK**. + In the **Property Pages** dialog box, select **Configuration Properties** > **General**. In the **Project Defaults** section, set **Common Language Runtime support** to **Common Language Runtime Support (/clr)**. Choose **OK**. 1. Add a reference to the .NET control. diff --git a/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md b/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md index 2e72788366c..d84eeb9f747 100644 --- a/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md +++ b/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md @@ -120,7 +120,7 @@ If the error is C2371, and a `stdint` type is involved, it probably means that t You can press **F12** (**Go to Definition**) to see where the type in question is defined. -The [/showIncludes](../build/reference/showincludes-list-include-files.md) compiler option can be useful here. In the **Property Pages** dialog box for your project, open the **C/C++** > **Advanced** page and set **Show Includes** to **Yes**. Then rebuild your project and see the list of `#include`s in the output window. Each header is indented under the header that includes it. +The [/showIncludes](../build/reference/showincludes-list-include-files.md) compiler option can be useful here. In the **Property Pages** dialog box for your project, select the **Configuration Properties** > **C/C++** > **Advanced** page and set **Show Includes** to **Yes**. Then rebuild your project and see the list of `#include` files in the output window. Each header is indented under the header that includes it. ## Errors involving CRT functions From 5dce1b929c4ffbd27bb6474542e9adf4f236d05a Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 01:29:28 -0700 Subject: [PATCH 02/11] Fix non-bulk issues before bulk fix --- ...tlasterror-preserve-last-error-code-for-pinvoke-calls.md | 2 +- .../reference/constexpr-control-constexpr-evaluation.md | 4 ++-- docs/build/reference/creating-a-makefile-project.md | 6 +++--- .../reference/custom-build-step-property-page-general.md | 4 ++-- docs/build/reference/e-preprocess-to-stdout.md | 2 +- docs/build/reference/f-set-stack-size.md | 2 +- docs/build/reference/filealign.md | 2 +- docs/build/reference/fixed-fixed-base-address.md | 2 +- docs/build/reference/fm-name-mapfile.md | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md b/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md index 4a2763f30db..68d09c47b9f 100644 --- a/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md +++ b/docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md @@ -35,7 +35,7 @@ You can minimize the performance impact by linking with **/CLRSUPPORTLASTERROR:S 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 diff --git a/docs/build/reference/constexpr-control-constexpr-evaluation.md b/docs/build/reference/constexpr-control-constexpr-evaluation.md index 5cb7120437a..7036b895add 100644 --- a/docs/build/reference/constexpr-control-constexpr-evaluation.md +++ b/docs/build/reference/constexpr-control-constexpr-evaluation.md @@ -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. Under **Configuration Properties**, expand the **C/C++** folder and choose the **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 diff --git a/docs/build/reference/creating-a-makefile-project.md b/docs/build/reference/creating-a-makefile-project.md index 1b794324098..eb2bcf1242f 100644 --- a/docs/build/reference/creating-a-makefile-project.md +++ b/docs/build/reference/creating-a-makefile-project.md @@ -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. @@ -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. diff --git a/docs/build/reference/custom-build-step-property-page-general.md b/docs/build/reference/custom-build-step-property-page-general.md index 46fa865f783..02b28be5a73 100644 --- a/docs/build/reference/custom-build-step-property-page-general.md +++ b/docs/build/reference/custom-build-step-property-page-general.md @@ -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. diff --git a/docs/build/reference/e-preprocess-to-stdout.md b/docs/build/reference/e-preprocess-to-stdout.md index d07d712d7c7..b0bf687ca99 100644 --- a/docs/build/reference/e-preprocess-to-stdout.md +++ b/docs/build/reference/e-preprocess-to-stdout.md @@ -58,7 +58,7 @@ cl -E test.cpp > test2.cpp 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 diff --git a/docs/build/reference/f-set-stack-size.md b/docs/build/reference/f-set-stack-size.md index 4f83ebe4772..094d35d1021 100644 --- a/docs/build/reference/f-set-stack-size.md +++ b/docs/build/reference/f-set-stack-size.md @@ -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 diff --git a/docs/build/reference/filealign.md b/docs/build/reference/filealign.md index f1364ed2b8b..53f0743efe2 100644 --- a/docs/build/reference/filealign.md +++ b/docs/build/reference/filealign.md @@ -33,7 +33,7 @@ Use [DUMPBIN](dumpbin-reference.md) to see information about sections in your ou 1. Select the **Command Line** property page in the **Linker** folder. -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 diff --git a/docs/build/reference/fixed-fixed-base-address.md b/docs/build/reference/fixed-fixed-base-address.md index 7b2ca8bbf4e..18d1b50be3d 100644 --- a/docs/build/reference/fixed-fixed-base-address.md +++ b/docs/build/reference/fixed-fixed-base-address.md @@ -30,7 +30,7 @@ Specify /FIXED:NO to generate a relocation section in the program. 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 diff --git a/docs/build/reference/fm-name-mapfile.md b/docs/build/reference/fm-name-mapfile.md index 139ec096a7a..2aa610ea3aa 100644 --- a/docs/build/reference/fm-name-mapfile.md +++ b/docs/build/reference/fm-name-mapfile.md @@ -34,7 +34,7 @@ Global symbols in a mapfile usually have one or more leading underscores because 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 From 82ad64e85c5b78478da5a23a74b530e44a693029 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 01:55:15 -0700 Subject: [PATCH 03/11] Acrolinx --- docs/build/reference/fm-name-mapfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/reference/fm-name-mapfile.md b/docs/build/reference/fm-name-mapfile.md index 2aa610ea3aa..0fa3df35026 100644 --- a/docs/build/reference/fm-name-mapfile.md +++ b/docs/build/reference/fm-name-mapfile.md @@ -18,13 +18,13 @@ 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 From d82c055c8c00b1bdea069db8c0247ec7db262e36 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 02:30:08 -0700 Subject: [PATCH 04/11] More frontrunning of bulk fix --- docs/build/reference/e-preprocess-to-stdout.md | 2 +- docs/build/reference/ga-optimize-for-windows-application.md | 2 +- docs/build/reference/ge-enable-stack-probes.md | 2 +- docs/build/reference/gs-buffer-security-check.md | 4 +--- docs/build/reference/gx-enable-exception-handling.md | 2 +- .../gz-enable-stack-frame-run-time-error-checking.md | 2 +- docs/build/reference/inferasanlibs.md | 2 +- docs/build/reference/j-default-char-type-is-unsigned.md | 4 ++-- ...eycontainer-specify-a-key-container-to-sign-an-assembly.md | 2 +- 9 files changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/build/reference/e-preprocess-to-stdout.md b/docs/build/reference/e-preprocess-to-stdout.md index b0bf687ca99..464e541e1e2 100644 --- a/docs/build/reference/e-preprocess-to-stdout.md +++ b/docs/build/reference/e-preprocess-to-stdout.md @@ -58,7 +58,7 @@ cl -E test.cpp > test2.cpp 1. Click the **Command Line** property page. -1. Enter the compiler option in the **Additional Options**box. +1. Enter the compiler option in the **Additional Options** box. ### To set this compiler option programmatically diff --git a/docs/build/reference/ga-optimize-for-windows-application.md b/docs/build/reference/ga-optimize-for-windows-application.md index 36b1139295c..e81e9fda60e 100644 --- a/docs/build/reference/ga-optimize-for-windows-application.md +++ b/docs/build/reference/ga-optimize-for-windows-application.md @@ -30,7 +30,7 @@ Using **/GA** for a DLL can result in bad code generation. 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 diff --git a/docs/build/reference/ge-enable-stack-probes.md b/docs/build/reference/ge-enable-stack-probes.md index 54883f7cc38..8da6a7014be 100644 --- a/docs/build/reference/ge-enable-stack-probes.md +++ b/docs/build/reference/ge-enable-stack-probes.md @@ -32,7 +32,7 @@ This mechanism is useful if you rewrite the functionality of the stack probe. It 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 diff --git a/docs/build/reference/gs-buffer-security-check.md b/docs/build/reference/gs-buffer-security-check.md index bcc99b372c5..a91d01983e9 100644 --- a/docs/build/reference/gs-buffer-security-check.md +++ b/docs/build/reference/gs-buffer-security-check.md @@ -99,9 +99,7 @@ Even if you use **/GS**, always try to write secure code that has no buffer over ### To set this compiler option in Visual Studio -1. In **Solution Explorer**, right-click the project and then click **Properties**. - - For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.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. In the **Property Pages** dialog box, click the **C/C++** folder. diff --git a/docs/build/reference/gx-enable-exception-handling.md b/docs/build/reference/gx-enable-exception-handling.md index f2b8a381d97..e2d2ee1be69 100644 --- a/docs/build/reference/gx-enable-exception-handling.md +++ b/docs/build/reference/gx-enable-exception-handling.md @@ -28,7 +28,7 @@ By default, **/EHsc**, the equivalent of **/GX**, is in effect when you compile 1. In the navigation pane, choose **Configuration Properties**, **C/C++**, **Command Line**. -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 diff --git a/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md b/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md index 1b7de0ec194..1c557c12d9d 100644 --- a/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md +++ b/docs/build/reference/gz-enable-stack-frame-run-time-error-checking.md @@ -30,7 +30,7 @@ Performs the same operations as the [/RTC (Run-Time Error Checks)](rtc-run-time- 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 diff --git a/docs/build/reference/inferasanlibs.md b/docs/build/reference/inferasanlibs.md index be79f7e7d84..5c952da5eed 100644 --- a/docs/build/reference/inferasanlibs.md +++ b/docs/build/reference/inferasanlibs.md @@ -23,7 +23,7 @@ The **`/INFERASANLIBS`** option is available beginning in Visual Studio 2019 ver ### To set the **`/INFERASANLIBS`** linker option in the Visual Studio development environment -1. Open your project's **Property Pages** dialog box. +1. Open your 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** > **Command Line** property page. diff --git a/docs/build/reference/j-default-char-type-is-unsigned.md b/docs/build/reference/j-default-char-type-is-unsigned.md index 176466211ef..91b8332afc3 100644 --- a/docs/build/reference/j-default-char-type-is-unsigned.md +++ b/docs/build/reference/j-default-char-type-is-unsigned.md @@ -29,11 +29,11 @@ ANSI C and C++ do not require a specific implementation of the **`char`** type. ### To set this compiler option in the Visual Studio development environment -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +1. Open your project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). 1. In the project **Property Pages** dialog box, in the left pane under **Configuration Properties**, expand **C/C++** and then select **Command Line**. -1. In the **Additional Options** pane, specify the **/J** compiler option. +1. In **Additional Options**, enter the **/J** compiler option. ### To set this compiler option programmatically diff --git a/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md b/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md index a0853c67607..fd720989dc9 100644 --- a/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md +++ b/docs/build/reference/keycontainer-specify-a-key-container-to-sign-an-assembly.md @@ -45,7 +45,7 @@ Other linker options that affect assembly generation are: 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 From d47ec04f354e95f100825cfad6b2e4d52bf0b9a3 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 02:51:41 -0700 Subject: [PATCH 05/11] Still more bulk update frontrunning --- .../keyfile-specify-key-or-key-pair-to-sign-an-assembly.md | 2 +- docs/build/reference/natvis-add-natvis-to-pdb.md | 2 +- .../qimprecise-fwaits-remove-fwaits-inside-try-blocks.md | 2 +- docs/build/reference/qpar-auto-parallelizer.md | 4 ++-- .../qpar-report-auto-parallelizer-reporting-level.md | 2 +- .../qvec-report-auto-vectorizer-reporting-level.md | 4 ++-- .../reference/source-charset-set-source-character-set.md | 6 +++--- docs/build/reference/stub-ms-dos-stub-file-name.md | 2 +- docs/build/reference/subsystem-specify-subsystem.md | 4 ++-- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md index c16de36fd90..9a3e29d71d4 100644 --- a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md +++ b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md @@ -51,7 +51,7 @@ Other linker options that affect assembly generation are: 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 diff --git a/docs/build/reference/natvis-add-natvis-to-pdb.md b/docs/build/reference/natvis-add-natvis-to-pdb.md index 41b5902f53c..f501e8cf6da 100644 --- a/docs/build/reference/natvis-add-natvis-to-pdb.md +++ b/docs/build/reference/natvis-add-natvis-to-pdb.md @@ -27,7 +27,7 @@ LINK ignores /NATVIS when a PDB file is not created by using a [/DEBUG](debug-ge 1. Select the **Command Line** property page in the **Linker** folder. -1. Add the /NATVIS option to the **Additional Options** text box. +1. Add the *`/NATVIS`* option to the **Additional Options** text box. ### To set this linker option programmatically diff --git a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md index f695ab4aa73..77f70f1ac11 100644 --- a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md +++ b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md @@ -28,7 +28,7 @@ This option has no effect if **/fp:except** is not also specified. If you specif 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 diff --git a/docs/build/reference/qpar-auto-parallelizer.md b/docs/build/reference/qpar-auto-parallelizer.md index 85092c119cc..14689eeb953 100644 --- a/docs/build/reference/qpar-auto-parallelizer.md +++ b/docs/build/reference/qpar-auto-parallelizer.md @@ -25,11 +25,11 @@ For information about how to enable output messages for the auto-parallelizer, s ### To set the /Qpar compiler option in Visual Studio -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +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. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. -1. In the **Additional Options** box, enter `/Qpar`. +1. In the **Additional Options** box, enter *`/Qpar`*. ### To set the /Qpar compiler option programmatically diff --git a/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md b/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md index 4e6ff77efc1..50f0aeb16d3 100644 --- a/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md +++ b/docs/build/reference/qpar-report-auto-parallelizer-reporting-level.md @@ -30,7 +30,7 @@ Messages are reported to stdout. If no informational messages are reported, then 1. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. -1. In the **Additional Options** box, enter `/Qpar-report:1` or `/Qpar-report:2`. +1. In the **Additional Options** box, enter *`/Qpar-report:1`* or *`/Qpar-report:2`*. ### To set the /Qpar-report compiler option programmatically diff --git a/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md b/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md index 825d80e0fbe..d422dc128c5 100644 --- a/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md +++ b/docs/build/reference/qvec-report-auto-vectorizer-reporting-level.md @@ -26,11 +26,11 @@ For information about reason codes and messages, see [Vectorizer and Parallelize ### To set the /Qvec-report compiler option in Visual Studio -1. In **Solution Explorer**, open the shortcut menu for the project and then choose **Properties**. +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. In the **Property Pages** dialog box, under **C/C++**, select **Command Line**. -1. In the **Additional Options** box, enter `/Qvec-report:1` or `/Qvec-report:2`. +1. In the **Additional Options** box, enter *`/Qvec-report:1`* or *`/Qvec-report:2`*. ### To set the /Qvec-report compiler option programmatically diff --git a/docs/build/reference/source-charset-set-source-character-set.md b/docs/build/reference/source-charset-set-source-character-set.md index 478458e69b4..072e2b18927 100644 --- a/docs/build/reference/source-charset-set-source-character-set.md +++ b/docs/build/reference/source-charset-set-source-character-set.md @@ -36,11 +36,11 @@ If you want to set both the source character set and the execution character set ### To set this compiler option in the Visual Studio development environment -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 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**, **C/C++**, **Command Line** folder. +1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page. -1. In **Additional Options**, add the **/source-charset** option, and specify your preferred encoding. +1. In **Additional Options**, add the *`/source-charset`* option, and specify your preferred encoding. 1. Choose **OK** to save your changes. diff --git a/docs/build/reference/stub-ms-dos-stub-file-name.md b/docs/build/reference/stub-ms-dos-stub-file-name.md index 3b6b113ceb6..7162b445fa5 100644 --- a/docs/build/reference/stub-ms-dos-stub-file-name.md +++ b/docs/build/reference/stub-ms-dos-stub-file-name.md @@ -41,7 +41,7 @@ When building a virtual device driver, *filename* allows the user to specify a f 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 diff --git a/docs/build/reference/subsystem-specify-subsystem.md b/docs/build/reference/subsystem-specify-subsystem.md index e075bbe6dc8..3067fec8160 100644 --- a/docs/build/reference/subsystem-specify-subsystem.md +++ b/docs/build/reference/subsystem-specify-subsystem.md @@ -11,7 +11,7 @@ ms.assetid: d7b133cf-cf22-4da8-ab46-6552702c0b9b ``` /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER|NATIVE| - POSIX|WINDOWS) + POSIX|WINDOWS} [,major[.minor]] ``` @@ -67,7 +67,7 @@ The optional minimum and default *major* and *minor* version numbers for the sub 1. Select the **System** property page. -1. Modify the `SubSystem` property. +1. Modify the **SubSystem** property. ### To set this linker option programmatically From 3369fc0e02fb833d655e60da635e22e0a63460bd Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 03:31:13 -0700 Subject: [PATCH 06/11] Acrolinx pass --- ...keyfile-specify-key-or-key-pair-to-sign-an-assembly.md | 8 +++----- .../qimprecise-fwaits-remove-fwaits-inside-try-blocks.md | 2 +- .../reference/source-charset-set-source-character-set.md | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md index 9a3e29d71d4..13eac053088 100644 --- a/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md +++ b/docs/build/reference/keyfile-specify-key-or-key-pair-to-sign-an-assembly.md @@ -23,13 +23,11 @@ The linker inserts the public key into the assembly manifest and then signs the If you compile with [/LN](ln-create-msil-module.md), the name of the key file is held in the module and incorporated into the assembly that is created when you compile an assembly that includes an explicit reference to the module, via [#using](../../preprocessor/hash-using-directive-cpp.md), or when linking with [/ASSEMBLYMODULE](assemblymodule-add-a-msil-module-to-the-assembly.md). -You can also pass your encryption information to the linker with [/KEYCONTAINER](keycontainer-specify-a-key-container-to-sign-an-assembly.md). Use [/DELAYSIGN](delaysign-partially-sign-an-assembly.md) if you want a partially signed assembly. See [Strong Name Assemblies (Assembly Signing) (C++/CLI)](../../dotnet/strong-name-assemblies-assembly-signing-cpp-cli.md) for more information on signing an assembly. +You can also pass your encryption information to the linker with [/KEYCONTAINER](keycontainer-specify-a-key-container-to-sign-an-assembly.md). Use [/DELAYSIGN](delaysign-partially-sign-an-assembly.md) if you want a partially signed assembly. For more information on signing an assembly, see [Strong Name Assemblies (Assembly Signing) (C++/CLI)](../../dotnet/strong-name-assemblies-assembly-signing-cpp-cli.md) and [Creating and Using Strong-Named Assemblies](/dotnet/framework/app-domains/create-and-use-strong-named-assemblies). -In case both **/KEYFILE** and **/KEYCONTAINER** are specified (either by command line option or by custom attribute), the linker will first try the key container. If that succeeds, then the assembly is signed with the information in the key container. If the linker does not find the key container, it will try the file specified with /KEYFILE. If that succeeds, the assembly is signed with the information in the key file and the key information will be installed in the key container (similar to sn -i) so that on the next compilation, the key container will be valid. +In case both **/KEYFILE** and **/KEYCONTAINER** are specified (either by command-line option or by custom attribute), the linker will first try the key container. If that succeeds, then the assembly is signed with the information in the key container. If the linker doesn't find the key container, it will try the file specified with /KEYFILE. If that succeeds, the assembly is signed with the information in the key file and the key information will be installed in the key container (similar to sn -i) so that on the next compilation, the key container will be valid. -Note that a key file might contain only the public key. - -See [Creating and Using Strong-Named Assemblies](/dotnet/framework/app-domains/create-and-use-strong-named-assemblies) for more information on signing an assembly. +A key file might contain only the public key. Other linker options that affect assembly generation are: diff --git a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md index 77f70f1ac11..59e66f7b1f5 100644 --- a/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md +++ b/docs/build/reference/qimprecise-fwaits-remove-fwaits-inside-try-blocks.md @@ -18,7 +18,7 @@ Removes the `fwait` commands internal to **`try`** blocks when you use the [/fp: ## Remarks -This option has no effect if **/fp:except** is not also specified. If you specify the **/fp:except** option, the compiler will insert a `fwait` command around each line of code in a **`try`** block. In this way, the compiler can identify the specific line of code that produces an exception. **/Qimprecise_fwaits** removes internal `fwait` instructions, leaving only the waits around the **`try`** block. This improves performance, but the compiler will only be able to say which **`try`** block causes an exception, not which line. +This option has no effect if **`/fp:except`** isn't also specified. If you specify the **`/fp:except`** option, the compiler will insert a `fwait` instruction around each line of code in a **`try`** block. In this way, the compiler can identify the specific line of code that produces an exception. **`/Qimprecise_fwaits`** removes internal `fwait` instructions, leaving only the waits around the **`try`** block. It improves performance, but the compiler can only show which **`try`** block causes an exception, not which line. ### To set this compiler option in the Visual Studio development environment diff --git a/docs/build/reference/source-charset-set-source-character-set.md b/docs/build/reference/source-charset-set-source-character-set.md index 072e2b18927..0a0597a1c02 100644 --- a/docs/build/reference/source-charset-set-source-character-set.md +++ b/docs/build/reference/source-charset-set-source-character-set.md @@ -32,7 +32,7 @@ By default, Visual Studio detects a byte-order mark to determine if the source f The source character set you supply must map the 7-bit ASCII characters to the same code points in your character set, or many compilation errors are likely to follow. Your source character set must also be mappable to the extended Unicode character set encodable by UTF-8. Characters that are not encodable in UTF-8 are represented by an implementation-specific substitute. The Microsoft compiler uses a question mark for these characters. -If you want to set both the source character set and the execution character set to UTF-8, you can use the **/utf-8** compiler option as a shortcut. It is equivalent to specifying **/source-charset:utf-8 /execution-charset:utf-8** on the command line. Any of these options also enables the **/validate-charset** option by default. +If you want to set both the source character set and the execution character set to UTF-8, you can use the **/utf-8** compiler option as a shortcut. It is equivalent to specifying **`/source-charset:utf-8 /execution-charset:utf-8`** on the command line. Any of these options also enables the **/validate-charset** option by default. ### To set this compiler option in the Visual Studio development environment From 21938c00256a23a074b3f240ac73e6c5fb1a084a Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 03:57:37 -0700 Subject: [PATCH 07/11] Still more command-line IDE frontrunning --- docs/build/reference/v-version-number.md | 2 +- docs/build/reference/vcpp-directories-property-page.md | 6 ++++-- .../reference/vd-disable-construction-displacements.md | 2 +- .../wholearchive-include-all-library-object-files.md | 2 +- docs/build/reference/wl-enable-one-line-diagnostics.md | 2 +- .../reference/wp64-detect-64-bit-portability-issues.md | 4 +--- docs/build/reference/wx-treat-linker-warnings-as-errors.md | 2 +- docs/build/reference/y-ignore-precompiled-header-options.md | 2 +- .../reference/yd-place-debug-information-in-object-file.md | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/build/reference/v-version-number.md b/docs/build/reference/v-version-number.md index 81d07b56b51..6a869bfaff8 100644 --- a/docs/build/reference/v-version-number.md +++ b/docs/build/reference/v-version-number.md @@ -37,7 +37,7 @@ The **/V** option is deprecated beginning in Visual Studio 2005; **/V** was prim 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 diff --git a/docs/build/reference/vcpp-directories-property-page.md b/docs/build/reference/vcpp-directories-property-page.md index d8673bcc2c0..a09151f1181 100644 --- a/docs/build/reference/vcpp-directories-property-page.md +++ b/docs/build/reference/vcpp-directories-property-page.md @@ -15,8 +15,10 @@ For the Linux version of this page, see [VC++ Directories (Linux C++)](../../lin To access the **VC++ Directories** property page: 1. If the **Solution Explorer** window is not visible, then on the main menu choose **View** > **Solution Explorer**. -1. Right-click on a project node (not the top-level solution) and choose **Properties**. -1. In the left pane of the **Property Pages** dialog box, select **Configuration Properties** > **VC++ Directories**. + +1. Right-click on a project node (not the top-level solution) and choose **Properties** to open the **Property Pages** dialog box. + +1. Select the **Configuration Properties** > **VC++ Directories** property page. VC++ Directories properties apply to a project, not the top-level solution node. If you do not see **VC++ Directories** under **Configuration Properties**, select a C++ project node in the **Solution Explorer** window: diff --git a/docs/build/reference/vd-disable-construction-displacements.md b/docs/build/reference/vd-disable-construction-displacements.md index 9a81ad55b03..01d0f1e635a 100644 --- a/docs/build/reference/vd-disable-construction-displacements.md +++ b/docs/build/reference/vd-disable-construction-displacements.md @@ -47,7 +47,7 @@ These options affect entire source files. Use [vtordisp](../../preprocessor/vtor 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 diff --git a/docs/build/reference/wholearchive-include-all-library-object-files.md b/docs/build/reference/wholearchive-include-all-library-object-files.md index 3f009a9e411..73224726ad6 100644 --- a/docs/build/reference/wholearchive-include-all-library-object-files.md +++ b/docs/build/reference/wholearchive-include-all-library-object-files.md @@ -32,7 +32,7 @@ The /WHOLEARCHIVE option was introduced in Visual Studio 2015 Update 2. 1. Select the **Command Line** property page under **Configuration Properties**, **Linker**. -1. Add the /WHOLEARCHIVE option to the **Additional Options** text box. +1. Add the *`/WHOLEARCHIVE`* option to the **Additional Options** text box. ## See also diff --git a/docs/build/reference/wl-enable-one-line-diagnostics.md b/docs/build/reference/wl-enable-one-line-diagnostics.md index 15e4f794729..186d3c26084 100644 --- a/docs/build/reference/wl-enable-one-line-diagnostics.md +++ b/docs/build/reference/wl-enable-one-line-diagnostics.md @@ -40,7 +40,7 @@ int main() { 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 diff --git a/docs/build/reference/wp64-detect-64-bit-portability-issues.md b/docs/build/reference/wp64-detect-64-bit-portability-issues.md index e904ece2704..6b7d240bc71 100644 --- a/docs/build/reference/wp64-detect-64-bit-portability-issues.md +++ b/docs/build/reference/wp64-detect-64-bit-portability-issues.md @@ -35,9 +35,7 @@ If you regularly compile your application by using a compiler that builds 64-bit ### To set this compiler option in the Visual Studio development environment -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 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. diff --git a/docs/build/reference/wx-treat-linker-warnings-as-errors.md b/docs/build/reference/wx-treat-linker-warnings-as-errors.md index af751ce3880..a6e7cb41147 100644 --- a/docs/build/reference/wx-treat-linker-warnings-as-errors.md +++ b/docs/build/reference/wx-treat-linker-warnings-as-errors.md @@ -28,7 +28,7 @@ By default, **/WX** is not in effect. To treat linker warnings as errors, specif 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 diff --git a/docs/build/reference/y-ignore-precompiled-header-options.md b/docs/build/reference/y-ignore-precompiled-header-options.md index a29fb08c445..e05ab32eb20 100644 --- a/docs/build/reference/y-ignore-precompiled-header-options.md +++ b/docs/build/reference/y-ignore-precompiled-header-options.md @@ -32,7 +32,7 @@ For more information on precompiled headers, see: 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 diff --git a/docs/build/reference/yd-place-debug-information-in-object-file.md b/docs/build/reference/yd-place-debug-information-in-object-file.md index 40e64e0b655..38fe82017ae 100644 --- a/docs/build/reference/yd-place-debug-information-in-object-file.md +++ b/docs/build/reference/yd-place-debug-information-in-object-file.md @@ -40,7 +40,7 @@ For more information on precompiled headers, see: 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 From c56b6265a793676865e5a4634a13942d4c4cad27 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 04:26:07 -0700 Subject: [PATCH 08/11] Acrolinx pass --- docs/build/reference/wl-enable-one-line-diagnostics.md | 4 ++-- docs/build/reference/wx-treat-linker-warnings-as-errors.md | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/build/reference/wl-enable-one-line-diagnostics.md b/docs/build/reference/wl-enable-one-line-diagnostics.md index 186d3c26084..27aa84d4d9a 100644 --- a/docs/build/reference/wl-enable-one-line-diagnostics.md +++ b/docs/build/reference/wl-enable-one-line-diagnostics.md @@ -18,9 +18,9 @@ Appends additional information to an error or warning message. ## Remarks -Error and warning messages from the C++ compiler can be followed by additional information that appears, by default, on a new line. When you compile from the command line, the additional line of information can be appended to the error or warning message. This might be desirable if you capture your build output to a log file and then process that log to find all errors and warnings. A semicolon will separate the error or warning message from the additional line. +Error and warning messages from the C++ compiler can be followed by additional information that appears, by default, on a new line. When you compile from the command line, the extra line of information can be appended to the error or warning message. It's useful if you capture your build output to a log file and then process that log to find all errors and warnings. A semicolon will separate the error or warning message from the additional line. -Not all error and warning messages have an additional line of information. The following code will generate an error that has an additional line of information; it will let you test the effect when you use **/WL**. +Not all error and warning messages have an extra line of information. The following code will generate an error that has another line of information. It lets you test the effect when you use **/WL**. ```cpp // compiler_option_WL.cpp diff --git a/docs/build/reference/wx-treat-linker-warnings-as-errors.md b/docs/build/reference/wx-treat-linker-warnings-as-errors.md index a6e7cb41147..9d08f81a3ad 100644 --- a/docs/build/reference/wx-treat-linker-warnings-as-errors.md +++ b/docs/build/reference/wx-treat-linker-warnings-as-errors.md @@ -16,7 +16,7 @@ ms.assetid: e4ba97c7-93f7-43ae-a4bb-d866790926c9 /WX causes no output file to be generated if the linker generates a warning. -This is similar to **/WX** for the compiler (see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md) for more information). However, specifying **/WX** for the compilation does not imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool. +It's similar to **/WX** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **/WX** for the compilation does not imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool. By default, **/WX** is not in effect. To treat linker warnings as errors, specify **/WX**. **/WX:NO** is the same as not specifying **/WX**. @@ -24,9 +24,7 @@ By default, **/WX** is not in effect. To treat linker warnings as errors, specif 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. Enter the option into the **Additional Options** box. From cf291f36ca3947a6224d87c050b2179d70ce7a95 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 04:33:55 -0700 Subject: [PATCH 09/11] Less Acrolinx --- docs/build/reference/wx-treat-linker-warnings-as-errors.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/build/reference/wx-treat-linker-warnings-as-errors.md b/docs/build/reference/wx-treat-linker-warnings-as-errors.md index 9d08f81a3ad..5807fb5f408 100644 --- a/docs/build/reference/wx-treat-linker-warnings-as-errors.md +++ b/docs/build/reference/wx-treat-linker-warnings-as-errors.md @@ -16,7 +16,7 @@ ms.assetid: e4ba97c7-93f7-43ae-a4bb-d866790926c9 /WX causes no output file to be generated if the linker generates a warning. -It's similar to **/WX** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **/WX** for the compilation does not imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool. +This option is similar to **/WX** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **/WX** for the compilation doesn't imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool. By default, **/WX** is not in effect. To treat linker warnings as errors, specify **/WX**. **/WX:NO** is the same as not specifying **/WX**. @@ -24,7 +24,9 @@ By default, **/WX** is not in effect. To treat linker warnings as errors, specif 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** > **Command Line** property page. +1. Click the **Linker** folder. + +1. Click the **Command Line** property page. 1. Enter the option into the **Additional Options** box. From 9e0317a22251e71af6d5a072578a41da8ded089e Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 05:05:53 -0700 Subject: [PATCH 10/11] Frontrunning again for bulk fix --- docs/build/reference/xdcmake-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/build/reference/xdcmake-reference.md b/docs/build/reference/xdcmake-reference.md index d75d82876cf..540490f5c4e 100644 --- a/docs/build/reference/xdcmake-reference.md +++ b/docs/build/reference/xdcmake-reference.md @@ -28,17 +28,17 @@ xdcmake `input_filename options` ## Parameters *input_filename*
-The file name of the .xdc files used as input to xdcmake.exe. Specify one or more .xdc files or use *.xdc to use all .xdc files in the current directory. +The file name of the *`.xdc`* files used as input to xdcmake.exe. Specify one or more *`.xdc`* files or use *.xdc to use all *`.xdc`* files in the current directory. *options*
Zero or more of the following: |Option|Description| |------------|-----------------| -|/?, /help|Display help for xdcmake.exe.| -|/assembly:*filename*|Lets you specify the value of the \ tag in the .xml file. By default, the value of the \ tag is the same as the filename of the .xml file.| +|`/?`, `/help`|Display help for xdcmake.exe.| +|`/assembly:filename`|Lets you specify the value of the \ tag in the .xml file. By default, the value of the \ tag is the same as the filename of the .xml file.| |/nologo|Suppress copyright message.| -|/out:*filename*|Lets you specify the name of the .xml file. By default, the name of the .xml file is the filename of the first .xdc file processed by xdcmake.exe.| +|`/out:filename`|Lets you specify the name of the .xml file. By default, the name of the .xml file is the filename of the first .xdc file processed by xdcmake.exe.| ## Remarks From c3cf7e89447c5d5b53d254c37bcdf06f549e4467 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Thu, 6 May 2021 05:16:31 -0700 Subject: [PATCH 11/11] Rest of the changes --- docs/build/reference/zs-syntax-check-only.md | 2 +- docs/data/oledb/debugging-your-provider.md | 6 +++--- ...ting-a-windows-form-user-control-as-an-mfc-dialog-box.md | 2 +- .../overview-of-potential-upgrade-issues-visual-cpp.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/build/reference/zs-syntax-check-only.md b/docs/build/reference/zs-syntax-check-only.md index 7319c2b46e8..4e88a2122af 100644 --- a/docs/build/reference/zs-syntax-check-only.md +++ b/docs/build/reference/zs-syntax-check-only.md @@ -30,7 +30,7 @@ The **/Zs** option provides a quick way to find and correct syntax errors before 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 diff --git a/docs/data/oledb/debugging-your-provider.md b/docs/data/oledb/debugging-your-provider.md index 0d2b9fa6703..53f6ce0d504 100644 --- a/docs/data/oledb/debugging-your-provider.md +++ b/docs/data/oledb/debugging-your-provider.md @@ -17,11 +17,11 @@ There are two ways to debug your provider: 1. Open the provider project. -1. On the **Projects** menu, click **Properties**. +1. On the menu bar, select **Projects** > **Properties**. -1. In the **Property Pages** dialog box, click the **Debugging** tab. +1. In the **Property Pages** dialog box, select the **Configuration Properties** > **Debugging** property page. -1. Select options as required, click **OK**. +1. Select options as required, then choose **OK**. 1. Set breakpoints, and then debug as usual. diff --git a/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md b/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md index 23935daf61a..14d59ab612a 100644 --- a/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md +++ b/docs/dotnet/hosting-a-windows-form-user-control-as-an-mfc-dialog-box.md @@ -25,7 +25,7 @@ The process that `CWinFormsDialog` uses to host the user control is the similar In **Solution Explorer**, right-click the **MFC03** project node, and choose **Properties**. The **Property Pages** dialog box appears. - In the **Property Pages** dialog box, in the **Configuration Properties** tree control, select **General**, then in the **Project Defaults** section, set **Common Language Runtime support** to **Common Language Runtime Support (/clr)**. Click **OK**. + In the **Property Pages** dialog box, select **Configuration Properties** > **General**. In the **Project Defaults** section, set **Common Language Runtime support** to **Common Language Runtime Support (/clr)**. Choose **OK**. 1. Add a reference to the .NET control. diff --git a/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md b/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md index 2e72788366c..d84eeb9f747 100644 --- a/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md +++ b/docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md @@ -120,7 +120,7 @@ If the error is C2371, and a `stdint` type is involved, it probably means that t You can press **F12** (**Go to Definition**) to see where the type in question is defined. -The [/showIncludes](../build/reference/showincludes-list-include-files.md) compiler option can be useful here. In the **Property Pages** dialog box for your project, open the **C/C++** > **Advanced** page and set **Show Includes** to **Yes**. Then rebuild your project and see the list of `#include`s in the output window. Each header is indented under the header that includes it. +The [/showIncludes](../build/reference/showincludes-list-include-files.md) compiler option can be useful here. In the **Property Pages** dialog box for your project, select the **Configuration Properties** > **C/C++** > **Advanced** page and set **Show Includes** to **Yes**. Then rebuild your project and see the list of `#include` files in the output window. Each header is indented under the header that includes it. ## Errors involving CRT functions