diff --git a/Directory.Build.props b/Directory.Build.props
index f054d696a5d..ac90e9e40ed 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -8,7 +8,7 @@
$(MicrosoftBuildPackageVersion)
$(MicrosoftBuildPackageVersion)
3.22.0
- 3.1.15
+ 8.0.0
4.7.2
@@ -19,11 +19,11 @@
21.1.8
18.0.1
0.11.6
- 6.1.0
- 4.7.0
- 4.4.0
- 3.12.0
- 3.6.0
+ 6.2.0
+ 4.13.0
+ 4.6.1
+ $(NUnitPackageVersion)
+ 3.8.0
latest
diff --git a/tests/common/shared-dotnet.csproj b/tests/common/shared-dotnet.csproj
index 8c3e8319731..27ee7da59ae 100644
--- a/tests/common/shared-dotnet.csproj
+++ b/tests/common/shared-dotnet.csproj
@@ -80,6 +80,11 @@
$(DefineConstants);NATIVEAOT
false
+
+ true
+ false
@@ -101,8 +106,12 @@
true
+
+ true
+
+
@@ -126,6 +135,11 @@
$(DefineConstants);NATIVEAOT
false
+
+ true
+ false