Skip to content

Commit 16d639d

Browse files
committed
Treat NU1901-NU1904 as Warnings instead of Errors
1 parent 0472fae commit 16d639d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
1313
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
15-
<NoWarn>$(NoWarn);Uno0001</NoWarn>
15+
<NoWarn>$(NoWarn);Uno0001</NoWarn>
16+
17+
<!-- See https://github.com/CommunityToolkit/Labs-Windows/pull/605#issuecomment-2498743676 -->
18+
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
1619
</PropertyGroup>
1720

1821
<Import Project="Windows.Toolkit.Common.props" />

0 commit comments

Comments
 (0)