diff --git a/Directory.Build.targets b/Directory.Build.targets
index 44ed1d5b2f1..ff17457a836 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -16,7 +16,17 @@
false
-
+
+ $(NoWarn);CS0436
+
+
$(NoWarn);IL2026;IL2087;IL2067;IL2075;IL2091;IL2072;IL2090;CA1825;IL2070;IL2098;IL2057
@@ -35,14 +45,14 @@
$(NoWarn);CA1062
-
+
$(NoWarn);ASP0019
-
+
$(NoWarn);RS1024