Skip to content

Commit f79b8d0

Browse files
Fix implicit usings condition
1 parent b909482 commit f79b8d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

msbuild/props/SixLabors.Global.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
<NullableContextOptions>disable</NullableContextOptions>
7474
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
7575
<CheckEolTargetFramework>false</CheckEolTargetFramework>
76-
<ImplicitUsings>true</ImplicitUsings>
76+
<ImplicitUsings>enable</ImplicitUsings>
7777
</PropertyGroup>
7878

79-
<ItemGroup Condition="'$(ImplicitUsings)'=='true'">
79+
<ItemGroup Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'" >
8080
<Using Include="SixLabors" />
8181
</ItemGroup>
8282

msbuild/props/SixLabors.Tests.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Version="2.4.3"
2929
IsImplicitlyDefined="true" />
3030

31-
<Using Include="Xunit" Condition="'$(ImplicitUsings)'=='true'"/>
31+
<Using Include="Xunit" Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'"/>
3232
</ItemGroup>
3333

3434
</Project>

0 commit comments

Comments
 (0)