From 05afcbde6a4a0ae47bd7d322af2e415f86bf7e12 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 7 Apr 2026 11:37:25 +0100 Subject: [PATCH] fix: set net8.0-windows target and UseWindowsForms for WinForms support --- src/SpamGuard/SpamGuard.csproj | 3 ++- tests/SpamGuard.Tests/SpamGuard.Tests.csproj | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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