diff --git a/Directory.Build.props b/Directory.Build.props
index 117c0964d2..f124456eab 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -9,5 +9,9 @@
false
False
12
+ true
+ true
+ true
+ true
diff --git a/tests/BuildTests/Directory.Build.props b/tests/BuildTests/Directory.Build.props
index 667403a447..a2225dfff6 100644
--- a/tests/BuildTests/Directory.Build.props
+++ b/tests/BuildTests/Directory.Build.props
@@ -3,6 +3,10 @@
true
false
+ true
+ true
+ true
+ true