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
# Common macros for MSBuild commands and properties
@@ -31,29 +31,29 @@ This table describes a commonly used subset of the available macros; there are m
31
31
| Macro | Description |
32
32
|--|--|
33
33
|**`$(Configuration)`**| The name of the current project configuration, for example, "Debug". |
34
-
|**`$(DevEnvDir)`**| The installation directory of Visual Studio (defined as drive + path); includes the trailing backslash '\\'. |
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
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. |
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
-
|**`$(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 slash. It resolves to the value for the **Intermediate Directory** property. Don't use **`$(OutDir)`** to define this property. |
40
-
|**`$(OutDir)`**| Path to the output file directory. If it's a relative path, output files go to this path appended to the project directory. This path should have a trailing slash. It resolves to the value for the **Output Directory** property. Don't use **`$(IntDir)`** to define this property. |
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. |
40
+
|**`$(OutDir)`**| Path to the output file directory. If it's a relative path, output files go to this path appended to the project directory. This path should have a trailing backslash (\\). It resolves to the value for the **Output Directory** property. Don't use **`$(IntDir)`** to define this property. |
41
41
|**`$(Platform)`**| The name of current project platform, for example, "Win32". |
42
42
|**`$(PlatformShortName)`**| The short name of current architecture, for example, "x86" or "x64". |
43
-
|**`$(ProjectDir)`**| The directory of the project (defined as drive + path); includes the trailing backslash '\\'. |
43
+
|**`$(ProjectDir)`**| The directory of the project (defined as drive + path); includes the trailing backslash (\\). |
44
44
|**`$(ProjectExt)`**| The file extension of the project. It includes the '.' before the file extension. |
45
45
|**`$(ProjectFileName)`**| The file name of the project (defined as base name + file extension). |
46
46
|**`$(ProjectName)`**| The base name of the project. |
47
47
|**`$(ProjectPath)`**| The absolute path name of the project (defined as drive + path + base name + file extension). |
48
-
|**`$(PublishDir)`**| The output location for the publish target; includes the trailing backslash '\\'. Defaults to the **`$(OutDir)app.publish\`** folder. |
48
+
|**`$(PublishDir)`**| The output location for the publish target; includes the trailing backslash (\\). Defaults to the **`$(OutDir)app.publish\`** folder. |
49
49
|**`$(RemoteMachine)`**| Set to the value of the **Remote Machine** property on the Debug property page. For more information, see [Changing Project Settings for a C/C++ Debug Configuration](/visualstudio/debugger/project-settings-for-a-cpp-debug-configuration). |
50
50
|**`$(RootNameSpace)`**| The namespace, if any, containing the application. |
51
-
|**`$(SolutionDir)`**| The directory of the solution (defined as drive + path); includes the trailing backslash '\\'. Defined only when building a solution in the IDE. |
51
+
|**`$(SolutionDir)`**| The directory of the solution (defined as drive + path); includes the trailing backslash (\\). Defined only when building a solution in the IDE. |
52
52
|**`$(SolutionExt)`**| The file extension of the solution. It includes the '.' before the file extension. Defined only when building a solution in the IDE. |
53
53
|**`$(SolutionFileName)`**| The file name of the solution (defined as base name + file extension). Defined only when building a solution in the IDE. |
54
54
|**`$(SolutionName)`**| The base name of the solution. Defined only when building a solution in the IDE. |
55
55
|**`$(SolutionPath)`**| The absolute path name of the solution (defined as drive + path + base name + file extension). Defined only when building a solution in the IDE. |
56
-
|**`$(TargetDir)`**| The directory of the primary output file for the build (defined as drive + path); includes the trailing backslash '\\'. |
56
+
|**`$(TargetDir)`**| The directory of the primary output file for the build (defined as drive + path); includes the trailing backslash (\\). |
57
57
|**`$(TargetExt)`**| The file extension of the primary output file for the build. It includes the '.' before the file extension. |
58
58
|**`$(TargetFileName)`**| The file name of the primary output file for the build (defined as base name + file extension). |
59
59
|**`$(TargetName)`**| The base name of the primary output file for the build. |
@@ -69,7 +69,7 @@ The build system for C++ was changed significantly between Visual Studio 2008 an
69
69
70
70
| Macro | Description |
71
71
|--|--|
72
-
|**`$(InputDir)`**| (Migrated.) The directory of the input file (defined as drive + path); includes the trailing backslash '\\'. If the project is the input, then this macro is equivalent to **`$(ProjectDir)`**. |
72
+
|**`$(InputDir)`**| (Migrated.) The directory of the input file (defined as drive + path); includes the trailing backslash (\\). If the project is the input, then this macro is equivalent to **`$(ProjectDir)`**. |
73
73
|**`$(InputExt)`**| (Migrated.) The file extension of the input file. It includes the '.' before the file extension. If the project is the input, then this macro is equivalent to **`$(ProjectExt)`**. For source files, it's equivalent to **`%(Extension)`**. |
74
74
|**`$(InputFileName)`**| (Migrated.) The file name of the input file (defined as base name + file extension). If the project is the input, then this macro is equivalent to **`$(ProjectFileName)`**. For source files, it's equivalent to **`%(Identity)`**. |
75
75
|**`$(InputName)`**| (Migrated.) The base name of the input file. If the project is the input, then this macro is equivalent to **`$(ProjectName)`**. For source files, it's equivalent to **`%(Filename)`**. |
0 commit comments