diff --git a/src/SpamGuard/SpamGuard.csproj b/src/SpamGuard/SpamGuard.csproj
index cae3836..e221b19 100644
--- a/src/SpamGuard/SpamGuard.csproj
+++ b/src/SpamGuard/SpamGuard.csproj
@@ -2,7 +2,8 @@
WinExe
- net8.0
+ net8.0-windows
+ true
enable
enable
diff --git a/tests/SpamGuard.Tests/SpamGuard.Tests.csproj b/tests/SpamGuard.Tests/SpamGuard.Tests.csproj
index 36b8b30..23f70d5 100644
--- a/tests/SpamGuard.Tests/SpamGuard.Tests.csproj
+++ b/tests/SpamGuard.Tests/SpamGuard.Tests.csproj
@@ -1,7 +1,8 @@
- net8.0
+ net8.0-windows
+ true
enable
enable
false