diff --git a/testing/TestHarness/Directory.Build.props b/testing/TestHarness/Directory.Build.props
index d5b888e83..f00d5409a 100644
--- a/testing/TestHarness/Directory.Build.props
+++ b/testing/TestHarness/Directory.Build.props
@@ -1,17 +1,38 @@
+
+ enable
+
+ annotations
+ $(NoWarn);NU5104;NU1504;NU1505;CS1591;MSB3277;XA0101;CS8785;CS8669;CA1416
+ true
+ true
+
+ $(NoWarn);NU1507;NETSDK1201;PRI257
+
+
+
+
+
+
+
+
+
+
+ portable
+ True
+ true
+ TestHarness
enable
- enable
- true
-
-
- $(NoWarn);NU1507;NETSDK1201;PRI257
diff --git a/testing/TestHarness/TestHarness/TestHarness.csproj b/testing/TestHarness/TestHarness/TestHarness.csproj
index bd622ce72..77446511c 100644
--- a/testing/TestHarness/TestHarness/TestHarness.csproj
+++ b/testing/TestHarness/TestHarness/TestHarness.csproj
@@ -74,7 +74,21 @@
+
+
+
+
+
+
+
+
+
+
+
+