diff --git a/Directory.Build.props b/Directory.Build.props
index d9959f8f0e..d4b9aea0c7 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -25,8 +25,13 @@
$(NoWarn);1591;IDISP013
false
true
+ README.md
+
+
+
+
$(NoWarn);IDE1006
$(WarningsNotAsErrors);IDE0053;IDE0060
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 5e8f97177b..12b946ef6e 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,11 +1,6 @@
-
- README.md
-
-
-