Skip to content

Commit a0cccce

Browse files
authored
Fix InheritDoc conditional logic (Azure#17774)
1 parent 4e7dae4 commit a0cccce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/Directory.Build.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</NoWarn>
7474
</PropertyGroup>
7575

76-
<PropertyGroup Condition="'$(InheritDocEnabled)' != 'false' and '$(TargetFramework)'=='netstandard2.0'">
76+
<PropertyGroup Condition="'$(InheritDocEnabled)' != 'false' and '$(TargetFramework)' == 'netstandard2.0'">
7777
<NoWarn>
7878
$(NoWarn);IDT001<!-- InheritDoc related to malformed XML in netstandard.xml -->
7979
</NoWarn>

eng/Directory.Build.Data.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
</ItemGroup>
206206

207207
<!-- Fixup netstandard2.malformed docs issue https://github.com/saucecontrol/InheritDoc#bad-netstandard-docs -->
208-
<ItemGroup Condition="'$(InheritDocEnabled)' != 'false' and '$(TargetFramework)'=='netstandard2.0'">
208+
<ItemGroup Condition="'$(InheritDocEnabled)' != 'false' and '$(TargetFramework)' == 'netstandard2.0'">
209209
<PackageDownload Include="NETStandard.Library.Ref" />
210210
<InheritDocReference Include="$(NugetPackageRoot)\netstandard.library.ref\2.1.0\ref\netstandard2.1\netstandard.xml" />
211211
</ItemGroup>

0 commit comments

Comments
 (0)