Skip to content

Commit 110cac1

Browse files
authored
Fix ApiCompatEnableRuleCannotChangeParameterName prop (#28344)
This should be an msbuild property, not an item.
1 parent c61c908 commit 110cac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Copyright (c) .NET Foundation. All rights reserved.
4040
NoWarn="$(NoWarn)"
4141
EnableRuleAttributesMustMatch="$(ApiCompatEnableRuleAttributesMustMatch)"
4242
ExcludeAttributesFiles="@(ApiCompatExcludeAttributesFile)"
43-
EnableRuleCannotChangeParameterName="@(ApiCompatEnableRuleCannotChangeParameterName)"
43+
EnableRuleCannotChangeParameterName="$(ApiCompatEnableRuleCannotChangeParameterName)"
4444
RunApiCompat="$(RunApiCompat)"
4545
EnableStrictModeForCompatibleTfms="$([MSBuild]::ValueOrDefault('$(EnableStrictModeForCompatibleTfms)', 'true'))"
4646
EnableStrictModeForCompatibleFrameworksInPackage="$(EnableStrictModeForCompatibleFrameworksInPackage)"

0 commit comments

Comments
 (0)