diff --git a/Directory.Build.props b/Directory.Build.props
index ebce3e9109c1d..9f37a994d87f1 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -387,6 +387,8 @@
strict;nullablePublicOnly
true
+
+ $(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904
$(NoWarn);CS8500;CS8969