Skip to content

Commit d12eb2b

Browse files
Copilotgewarren
andcommitted
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]>
1 parent 5da85f6 commit d12eb2b

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)