From 5711916696746f7aae17d6bc6802c5500a21fa66 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Thu, 1 Feb 2024 20:32:53 +0330 Subject: [PATCH] Support for multiple target framework structure --- ...ces.IdentityMicroservice.ConsoleApp.csproj | 17 ++++++-- ...vices.IdentityMicroservice.Database.csproj | 16 +++++++- ...ervices.IdentityMicroservice.Domain.csproj | 18 ++++++-- ...ervices.IdentityMicroservice.Logics.csproj | 16 +++++++- ...ervices.IdentityMicroservice.WebApi.csproj | 41 +++++++++++++++++-- 5 files changed, 94 insertions(+), 14 deletions(-) diff --git a/src/CSharp/EasyMicroservices.IdentityMicroservice.ConsoleApp/EasyMicroservices.IdentityMicroservice.ConsoleApp.csproj b/src/CSharp/EasyMicroservices.IdentityMicroservice.ConsoleApp/EasyMicroservices.IdentityMicroservice.ConsoleApp.csproj index 3b94e2c..bfa54bc 100644 --- a/src/CSharp/EasyMicroservices.IdentityMicroservice.ConsoleApp/EasyMicroservices.IdentityMicroservice.ConsoleApp.csproj +++ b/src/CSharp/EasyMicroservices.IdentityMicroservice.ConsoleApp/EasyMicroservices.IdentityMicroservice.ConsoleApp.csproj @@ -1,10 +1,21 @@ - + + + + + $(SolutionFileName.Split('-')[1].Replace('.sln','')) + + + + + net6.0;net7.0;net8.0 + + + + Exe - net7.0 enable - enable false diff --git a/src/CSharp/EasyMicroservices.IdentityMicroservice.Database/EasyMicroservices.IdentityMicroservice.Database.csproj b/src/CSharp/EasyMicroservices.IdentityMicroservice.Database/EasyMicroservices.IdentityMicroservice.Database.csproj index 39fe6db..d1f0831 100644 --- a/src/CSharp/EasyMicroservices.IdentityMicroservice.Database/EasyMicroservices.IdentityMicroservice.Database.csproj +++ b/src/CSharp/EasyMicroservices.IdentityMicroservice.Database/EasyMicroservices.IdentityMicroservice.Database.csproj @@ -1,8 +1,20 @@  - + + + + + $(SolutionFileName.Split('-')[1].Replace('.sln','')) + + + + + net6.0;net7.0;net8.0 + + + + EasyMicroservices.IdentityMicroservice - net6.0;net7.0;net8.0 enable true diff --git a/src/CSharp/EasyMicroservices.IdentityMicroservice.Domain/EasyMicroservices.IdentityMicroservice.Domain.csproj b/src/CSharp/EasyMicroservices.IdentityMicroservice.Domain/EasyMicroservices.IdentityMicroservice.Domain.csproj index d3b376a..bcd614e 100644 --- a/src/CSharp/EasyMicroservices.IdentityMicroservice.Domain/EasyMicroservices.IdentityMicroservice.Domain.csproj +++ b/src/CSharp/EasyMicroservices.IdentityMicroservice.Domain/EasyMicroservices.IdentityMicroservice.Domain.csproj @@ -1,8 +1,20 @@  - + + + + + $(SolutionFileName.Split('-')[1].Replace('.sln','')) + + + + + net6.0;net7.0;net8.0 + + + + EasyMicroservices.IdentityMicroservice - net6.0;net7.0;net8.0 enable true @@ -22,7 +34,7 @@ - + diff --git a/src/CSharp/EasyMicroservices.IdentityMicroservice.Logics/EasyMicroservices.IdentityMicroservice.Logics.csproj b/src/CSharp/EasyMicroservices.IdentityMicroservice.Logics/EasyMicroservices.IdentityMicroservice.Logics.csproj index caa13a2..02fb0f5 100644 --- a/src/CSharp/EasyMicroservices.IdentityMicroservice.Logics/EasyMicroservices.IdentityMicroservice.Logics.csproj +++ b/src/CSharp/EasyMicroservices.IdentityMicroservice.Logics/EasyMicroservices.IdentityMicroservice.Logics.csproj @@ -1,8 +1,20 @@  - + + + + + $(SolutionFileName.Split('-')[1].Replace('.sln','')) + + + + + net6.0;net7.0;net8.0 + + + + EasyMicroservices.IdentityMicroservice - net6.0;net7.0;net8.0 enable true diff --git a/src/CSharp/EasyMicroservices.IdentityMicroservice.WebApi/EasyMicroservices.IdentityMicroservice.WebApi.csproj b/src/CSharp/EasyMicroservices.IdentityMicroservice.WebApi/EasyMicroservices.IdentityMicroservice.WebApi.csproj index d6b9a07..408f872 100644 --- a/src/CSharp/EasyMicroservices.IdentityMicroservice.WebApi/EasyMicroservices.IdentityMicroservice.WebApi.csproj +++ b/src/CSharp/EasyMicroservices.IdentityMicroservice.WebApi/EasyMicroservices.IdentityMicroservice.WebApi.csproj @@ -1,7 +1,19 @@  - + + + + + $(SolutionFileName.Split('-')[1].Replace('.sln','')) + + + + + net6.0;net7.0;net8.0 + + + + - net6.0;net7.0;net8.0 enable true @@ -18,16 +30,37 @@ + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + +