You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/reference/common-macros-for-build-commands-and-properties.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ To display all of the currently available macros, open the project property page
14
14
15
15
For example, in the left pane, select **Configuration Properties** > **VC++ Directories**, and then in the right pane, select **Include directories**. The value for **Include directories** is `$(VC_IncludePath);$(WindowsSDK_IncludePath);`.
16
16
17
-
The dollar sign and parenthesis surrounding these two values indicates that they are macros. The expansion of those two macros sets the include directories to search.
17
+
The dollar sign and parenthesis surrounding these two values indicates that they're macros. The expansion of those two macros sets the include directories to search.
18
18
19
-
Select **Include Directories** and a dropdown will appear at the end of the row. Select the dropdown button, then select **Edit**. In the **Include Directories** dialog box that appears, select the **Macros>>** button.
19
+
Select **Include Directories** and a dropdown appears at the end of the row. Select the dropdown button, then select **Edit**. In the **Include Directories** dialog box that appears, select the **Macros>>** button.
20
20
21
21
That expands the dialog to show the current set of properties and macros visible to Visual Studio, along with the current value for each. For more information, see the **Specifying User-Defined Values** section of [C++ project property page reference](property-pages-visual-cpp.md).
22
22
@@ -33,7 +33,7 @@ This table describes a commonly used subset of the available macros; there are m
33
33
|**`$(Configuration)`**| The name of the current project configuration, for example, "Debug". |
34
34
|**`$(DevEnvDir)`**| The installation directory of Visual Studio (defined as drive + path); includes the trailing backslash (\\). |
35
35
|**`$(FrameworkDir)`**| The directory into which the .NET Framework was installed. |
36
-
|**`$(FrameworkSDKDir)`**| The directory into which you installed the .NET Framework. The .NET Framework could have been installed as part of Visual Studio or separately. |
36
+
|**`$(FrameworkSDKDir)`**| The directory into which you installed the .NET Framework. The .NET Framework may have been installed as part of Visual Studio or separately. |
37
37
|**`$(FrameworkVersion)`**| The version of the .NET Framework used by Visual Studio. Combined with **`$(FrameworkDir)`**, the full path to the version of the .NET Framework use by Visual Studio. |
38
38
|**`$(FxCopDir)`**| The path to the *`fxcop.cmd`* file. The *`fxcop.cmd`* file isn't installed in all Visual Studio editions. |
39
39
|**`$(IntDir)`**| Path to the directory specified for intermediate files. If it's a relative path, intermediate files go to this path appended to the project directory. This path should have a trailing backslash (\\). It resolves to the value for the **Intermediate Directory** property. Don't use **`$(OutDir)`** to define this property. |
@@ -65,7 +65,7 @@ This table describes a commonly used subset of the available macros; there are m
65
65
66
66
## Obsolete macros
67
67
68
-
The build system for C++ was changed significantly between Visual Studio 2008 and Visual Studio 2010. Many macros used in earlier project types have been changed to new ones. These macros are no longer used or have been replaced by one or more equivalent properties or [item metadata macro](/visualstudio/msbuild/itemmetadata-element-msbuild) (**`%(item-name)`**) values. Macros marked "migrated" can be updated by the project migration tool. If a project containing the macro is migrated from Visual Studio 2008 or earlier to Visual Studio 2010, Visual Studio converts the macro to the equivalent current macro. Later versions of Visual Studio can't convert projects from Visual Studio 2008 and earlier to the new project type. You must convert these projects in two steps; first convert them to Visual Studio 2010, and then convert the result to your newer version of Visual Studio. For more information, see [Overview of potential upgrade issues](../../porting/overview-of-potential-upgrade-issues-visual-cpp.md).
68
+
The build system for C++ was changed significantly between Visual Studio 2008 and Visual Studio 2010. Many macros used in earlier project types changed to new ones. These macros are no longer used or are replaced by one or more equivalent properties or [item metadata macro](/visualstudio/msbuild/itemmetadata-element-msbuild) (**`%(item-name)`**) values. The migration tool can update macros marked "migrated". If a project containing the macro is migrated from Visual Studio 2008 or earlier to Visual Studio 2010, Visual Studio converts the macro to the equivalent current macro. Later versions of Visual Studio can't convert projects from Visual Studio 2008 and earlier to the new project type. You must convert these projects in two steps; first convert them to Visual Studio 2010, and then convert the result to your newer version of Visual Studio. For more information, see [Overview of potential upgrade issues](../../porting/overview-of-potential-upgrade-issues-visual-cpp.md).
69
69
70
70
| Macro | Description |
71
71
|--|--|
@@ -77,7 +77,7 @@ The build system for C++ was changed significantly between Visual Studio 2008 an
77
77
|**`$(ParentName)`**| Name of the item containing this project item. This macro is the parent folder name, or project name. |
78
78
|**`$(SafeInputName)`**| The name of the file as a valid class name, minus file extension. This property doesn't have an exact equivalent. |
79
79
|**`$(SafeParentName)`**| The name of the immediate parent in valid name format. For example, a form is the parent of a *`.resx`* file. This property doesn't have an exact equivalent. |
80
-
|**`$(SafeRootNamespace)`**| The namespace name in which the project wizards will add code. This namespace name only contains characters that would be permitted in a valid C++ identifier. This property doesn't have an exact equivalent. |
80
+
|**`$(SafeRootNamespace)`**| The namespace name where the project wizards should add code. This namespace name only contains characters that would be permitted in a valid C++ identifier. This property doesn't have an exact equivalent. |
0 commit comments