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/debugger/format-specifiers-in-cpp.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Format specifiers in the debugger (C++)"
3
3
description: Use a format specifier to change the format in which a value is displayed in a Watch, Autos, or Locals window. This article provides usage details.
4
-
ms.date: 12/12/2025
4
+
ms.date: 06/15/2026
5
5
ms.topic: concept-article
6
6
dev_langs:
7
7
- "C++"
@@ -66,6 +66,7 @@ The following tables describe the format specifiers that you can use in Visual S
Copy file name to clipboardExpand all lines: docs/msbuild/target-element-msbuild.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Contains a set of tasks for MSBuild to execute sequentially.
53
53
|Attribute|Description|
54
54
|---------------|-----------------|
55
55
|`Name`|Required attribute.<br /><br /> The name of the target. A target name may contain any character except `$@()%*?.`.|
56
-
|`Condition`|Optional attribute.<br /><br /> The condition to be evaluated. If the condition evaluates to `false`, the target will not execute the body of the target or any targets that are set in the `DependsOnTargets` attribute. For more information about conditions, see [Conditions](../msbuild/msbuild-conditions.md).|
56
+
|`Condition`|Optional attribute.<br /><br /> The condition to be evaluated. If the condition evaluates to `false`, the target won't execute the body of the target or any targets that are set in the `DependsOnTargets` attribute. For more information about conditions, see [Conditions](../msbuild/msbuild-conditions.md).|
57
57
|`Inputs`|Optional attribute.<br /><br /> The files that form inputs into this target. Multiple files are separated by semicolons. The timestamps of the files will be compared with the timestamps of files in `Outputs` to determine whether the `Target` is up to date. For more information, see [Incremental builds](../msbuild/incremental-builds.md), [How to: Build incrementally](../msbuild/how-to-build-incrementally.md), and [Transforms](../msbuild/msbuild-transforms.md).|
58
58
|`Outputs`|Optional attribute.<br /><br /> The files that form outputs into this target. Multiple files are separated by semicolons. The timestamps of the files will be compared with the timestamps of files in `Inputs` to determine whether the `Target` is up to date. For more information, see [Incremental builds](../msbuild/incremental-builds.md), [How to: Build incrementally](../msbuild/how-to-build-incrementally.md), and [Transforms](../msbuild/msbuild-transforms.md).|
59
59
|`Returns`|Optional attribute.<br /><br /> The set of items that will be made available to tasks that invoke this target, for example, MSBuild tasks. Multiple targets are separated by semicolons. If the targets in the file have no `Returns` attributes, the Outputs attributes are used instead for this purpose.|
@@ -86,15 +86,17 @@ Contains a set of tasks for MSBuild to execute sequentially.
86
86
87
87
A target is only executed once during a build, even if more than one target has a dependency on it.
88
88
89
-
If a target is skipped because its `Condition` attribute evaluates to `false`, it can still be executed if it is invoked later in the build and its `Condition` attribute evaluates to `true` at that time.
89
+
If a target is skipped because its `Condition` attribute evaluates to `false`, it can still be executed if it's invoked later in the build and its `Condition` attribute evaluates to `true` at that time.
90
90
91
-
Before MSBuild 4, `Target` returned any items that were specified in the `Outputs` attribute. To do this, MSBuild had to record these items in case tasks later in the build requested them. Because there was no way to indicate which targets had outputs that callers would require, MSBuild accumulated all items from all `Outputs` on all invoked `Target`s. This lead to scaling problems for builds that had a large number of output items.
91
+
Before MSBuild 4, `Target` returned any items that were specified in the `Outputs` attribute. To do this, MSBuild had to record these items in case tasks later in the build requested them. Because there was no way to indicate which targets had outputs that callers would require, MSBuild accumulated all items from all `Outputs` on all invoked `Target`s. This led to scaling problems for builds that had a large number of output items.
92
92
93
93
If the user specifies a `Returns` on any `Target` element in a project, then only those `Target`s that have a `Returns` attribute record those items.
94
94
95
-
A `Target` may contain both an `Outputs` attribute and a `Returns` attribute. `Outputs` is used with `Inputs` to determine whether the target is up-to-date. `Returns`, if present, overrides the value of `Outputs` to determine which items are returned to callers. If `Returns`is not present, then `Outputs` will be made available to callers except in the case described earlier.
95
+
A `Target` may contain both an `Outputs` attribute and a `Returns` attribute. `Outputs` is used with `Inputs` to determine whether the target is up-to-date. `Returns`, if present, overrides the value of `Outputs` to determine which items are returned to callers. If `Returns`isn't present, then `Outputs` will be made available to callers except in the case described earlier.
96
96
97
-
Before MSBuild 4, any time that a `Target` included multiple references to the same item in its `Outputs`, those duplicate items would be recorded. In very large builds that had a large number of outputs and many project interdependencies, this would cause a large amount of memory to be wasted because the duplicate items were not of any use. When the `KeepDuplicateOutputs` attribute is set to `true`, these duplicates are recorded.
97
+
The result made available to callers via `Outputs` or `Returns` is captured immediately after the target completes. Inspecting the state of the same item expression later may return different results, for instance if another target hooked the target with `AfterTargets` and modified the returned item list (after the target completed but before returning control to the caller of the target).
98
+
99
+
Before MSBuild 4, any time that a `Target` included multiple references to the same item in its `Outputs`, those duplicate items would be recorded. In very large builds that had a large number of outputs and many project interdependencies, this would cause a large amount of memory to be wasted because the duplicate items weren't of any use. When the `KeepDuplicateOutputs` attribute is set to `true`, these duplicates are recorded.
0 commit comments