diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index add3650..1fffc08 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -33,10 +33,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: |
- 6.0.x
- 7.0.x
- 8.0.x
+ dotnet-version: 9.x
- name: Restore Dependencies
run: dotnet restore
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index d681446..557d670 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -38,6 +38,7 @@
+
diff --git a/src/XUnit.Hosting/XUnit.Hosting.csproj b/src/XUnit.Hosting/XUnit.Hosting.csproj
index b4a4abe..415f817 100644
--- a/src/XUnit.Hosting/XUnit.Hosting.csproj
+++ b/src/XUnit.Hosting/XUnit.Hosting.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net6.0;net7.0;net8.0
+ netstandard2.0;net8.0;net9.0
enable
enable
diff --git a/test/XUnit.Hosting.Tests/XUnit.Hosting.Tests.csproj b/test/XUnit.Hosting.Tests/XUnit.Hosting.Tests.csproj
index 8d9a69c..38984e9 100644
--- a/test/XUnit.Hosting.Tests/XUnit.Hosting.Tests.csproj
+++ b/test/XUnit.Hosting.Tests/XUnit.Hosting.Tests.csproj
@@ -1,7 +1,7 @@
-
+
- net6.0;net7.0;net8.0
+ net8.0;net9.0
enable
enable