From 63c60a91b27b8ca2429c2306138449dc535d8652 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 8 Oct 2026 10:33:11 +0200 Subject: [PATCH] Add multi-targeting support for net7.0 and net8.0 Updated the project to support both net7.0 and net8.0 frameworks. Modified `` to `` and added conditional `` entries for dependencies and project references specific to each framework. Updated package versions (e.g., Microsoft.Extensions.DependencyInjection to 9.0.6) and introduced new dependencies for net8.0, including Microsoft.EntityFrameworkCore 8.0.17. Added a `` directive for net7.0 to exclude Crypt-related files. Ensured compatibility and maintained backward support for net7.0. --- .../EnvelopeGenerator.Tests.csproj | 49 +++++++++++++++++-- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/EnvelopeGenerator.Tests/EnvelopeGenerator.Tests.csproj b/EnvelopeGenerator.Tests/EnvelopeGenerator.Tests.csproj index e1d7f360..135ec6ea 100644 --- a/EnvelopeGenerator.Tests/EnvelopeGenerator.Tests.csproj +++ b/EnvelopeGenerator.Tests/EnvelopeGenerator.Tests.csproj @@ -1,7 +1,7 @@  - net7.0 + net7.0;net8.0 enable enable @@ -17,7 +17,7 @@ - + @@ -28,21 +28,60 @@ - + + - - + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + + + + +