Skip to content

Commit 70833c1

Browse files
Copilotgewarren
andauthored
Fix TargetFrameworks documentation - correct precedence behavior (#49607)
* Initial plan * Fix TargetFrameworks documentation note The note incorrectly stated that TargetFrameworks property is ignored if TargetFramework is specified. The actual behavior is the opposite - when both properties are present, TargetFrameworks (plural) takes precedence and TargetFramework (singular) is ignored. Updated the note to correctly reflect this behavior. Fixes #45942 Co-authored-by: gewarren <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: gewarren <[email protected]>
1 parent ee9f39a commit 70833c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/project-sdk/msbuild-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For more information, see [Target frameworks in SDK-style projects](../../standa
114114
Use the `TargetFrameworks` property when you want your app to target multiple platforms. For a list of valid target framework monikers, see [Target frameworks in SDK-style projects](../../standard/frameworks.md#supported-target-frameworks).
115115

116116
> [!NOTE]
117-
> This property is ignored if `TargetFramework` (singular) is specified.
117+
> If `TargetFrameworks` (plural) is specified, `TargetFramework` (singular) is ignored.
118118
119119
```xml
120120
<PropertyGroup>

0 commit comments

Comments
 (0)