diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index f668a303e..d724656cf 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -27,11 +27,6 @@ jobs:
- language: javascript-typescript
build-mode: none
steps:
- - name: Setup .NET
- uses: actions/setup-dotnet@v4
- with:
- dotnet-version: "9.0.x"
-
# CodeQL C# autobuild doesn't (yet?) recognize .NET Aspire
- if: matrix.language == 'csharp'
run: |
diff --git a/.github/workflows/directory-migrate.yml b/.github/workflows/directory-migrate.yml
index c88f207ae..2d14d41ad 100644
--- a/.github/workflows/directory-migrate.yml
+++ b/.github/workflows/directory-migrate.yml
@@ -62,14 +62,12 @@ jobs:
git revert --no-edit $PREVIOUS_MIGRATION_HASH
fi
- - name: Setup .NET
- uses: actions/setup-dotnet@v4
- with:
- dotnet-version: "9.0.x"
-
- # Disabled GH Actions cache for Dependabot. https://github.com/dependabot/dependabot-core/issues/1303
- # cache-dependency-path: services/Directory/FilterLists.Directory.Api/packages.lock.json
- # cache: true
+ # Disabled GH Actions cache for Dependabot. https://github.com/dependabot/dependabot-core/issues/1303
+ # - name: Setup .NET
+ # uses: actions/setup-dotnet@v4
+ # with:
+ # cache-dependency-path: services/Directory/FilterLists.Directory.Api/packages.lock.json
+ # cache: true
- name: Install dotnet-ef
run: dotnet tool install --global dotnet-ef
diff --git a/.github/workflows/directory.yml b/.github/workflows/directory.yml
index 6e6cb12c1..e55527867 100644
--- a/.github/workflows/directory.yml
+++ b/.github/workflows/directory.yml
@@ -37,14 +37,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- - name: Setup .NET
- uses: actions/setup-dotnet@v4
- with:
- dotnet-version: "9.0.x"
-
- # Disabled GH Actions cache for Dependabot. https://github.com/dependabot/dependabot-core/issues/1303
- # cache-dependency-path: services/Directory/FilterLists.Directory.Api/packages.lock.json
- # cache: true
+ # Disabled GH Actions cache for Dependabot. https://github.com/dependabot/dependabot-core/issues/1303
+ # - name: Setup .NET
+ # uses: actions/setup-dotnet@v4
+ # with:
+ # cache-dependency-path: services/Directory/FilterLists.Directory.Api/packages.lock.json
+ # cache: true
# - name: Restore
# run: dotnet restore --locked-mode
diff --git a/services/Directory/FilterLists.Directory.Api/FilterLists.Directory.Api.csproj b/services/Directory/FilterLists.Directory.Api/FilterLists.Directory.Api.csproj
index c376bd7e3..c25373a79 100644
--- a/services/Directory/FilterLists.Directory.Api/FilterLists.Directory.Api.csproj
+++ b/services/Directory/FilterLists.Directory.Api/FilterLists.Directory.Api.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
enable
enable
Recommended
@@ -23,8 +23,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/services/Directory/FilterLists.Directory.Application/FilterLists.Directory.Application.csproj b/services/Directory/FilterLists.Directory.Application/FilterLists.Directory.Application.csproj
index db9dcfbf4..d2d328352 100644
--- a/services/Directory/FilterLists.Directory.Application/FilterLists.Directory.Application.csproj
+++ b/services/Directory/FilterLists.Directory.Application/FilterLists.Directory.Application.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
enable
enable
Recommended
diff --git a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/FilterLists.Directory.Infrastructure.Migrations.csproj b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/FilterLists.Directory.Infrastructure.Migrations.csproj
index cb59ca429..9239b682c 100644
--- a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/FilterLists.Directory.Infrastructure.Migrations.csproj
+++ b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/FilterLists.Directory.Infrastructure.Migrations.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
enable
enable
diff --git a/services/Directory/FilterLists.Directory.Infrastructure/FilterLists.Directory.Infrastructure.csproj b/services/Directory/FilterLists.Directory.Infrastructure/FilterLists.Directory.Infrastructure.csproj
index 2d769516b..89e38bd00 100644
--- a/services/Directory/FilterLists.Directory.Infrastructure/FilterLists.Directory.Infrastructure.csproj
+++ b/services/Directory/FilterLists.Directory.Infrastructure/FilterLists.Directory.Infrastructure.csproj
@@ -1,14 +1,14 @@
- net9.0
+ net8.0
enable
enable
Recommended
-
+
diff --git a/services/FilterLists.AppHost/FilterLists.AppHost.csproj b/services/FilterLists.AppHost/FilterLists.AppHost.csproj
index 4bd93ff0e..507e6d90d 100644
--- a/services/FilterLists.AppHost/FilterLists.AppHost.csproj
+++ b/services/FilterLists.AppHost/FilterLists.AppHost.csproj
@@ -1,10 +1,8 @@
-
-
Exe
- net9.0
+ net8.0
enable
enable
true
@@ -17,8 +15,8 @@
-
-
+
+
-
\ No newline at end of file
+
diff --git a/services/FilterLists.ServiceDefaults/FilterLists.ServiceDefaults.csproj b/services/FilterLists.ServiceDefaults/FilterLists.ServiceDefaults.csproj
index 9b7e409bc..1efda18e3 100644
--- a/services/FilterLists.ServiceDefaults/FilterLists.ServiceDefaults.csproj
+++ b/services/FilterLists.ServiceDefaults/FilterLists.ServiceDefaults.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
enable
enable
true
@@ -12,8 +12,8 @@
-
-
+
+