From aea989dbbfa7fce4ee64e00b7ba2d44fc1293a44 Mon Sep 17 00:00:00 2001 From: drr00t Date: Mon, 20 Feb 2023 22:18:05 -0300 Subject: [PATCH] contrib setup: - setup code qualityy tools - added to EntityFramework - implement Npgsql with entityFramework --- DFlow.sln | 8 ++++++++ src/DFlow.Persistence/DFlow.Persistence.csproj | 1 - src/DFlow.Specifications/DFlow.Specifications.csproj | 2 -- src/DFlow/DFlow.csproj | 5 ++++- src/Directory.Build.props | 6 +++++- src/contrib/Directory.Build.props | 4 ++++ tests/DFlow.Testing/DFlow.Testing.csproj | 3 ++- 7 files changed, 23 insertions(+), 6 deletions(-) diff --git a/DFlow.sln b/DFlow.sln index d52c09f..16b73aa 100644 --- a/DFlow.sln +++ b/DFlow.sln @@ -19,6 +19,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFlow.Persistence.EntityFra EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFlow.Persistence.EntityFrameworkCore.Npgsql", "src\contrib\DFlow.Persistence.EntityFrameworkCore.Npgsql\DFlow.Persistence.EntityFrameworkCore.Npgsql.csproj", "{50C047E2-DBFC-4652-9C8F-B3B3F3CD5B98}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_containers", "_containers", "{5FD6DE92-1A55-4261-A0AC-4FF2166134E5}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "postgres", "postgres", "{7D569F94-FDE6-4B68-9399-FC1DCF9090B7}" + ProjectSection(SolutionItems) = preProject + _local_testing\postgresql\docker-compose.postgres.yml = _local_testing\postgresql\docker-compose.postgres.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -83,6 +90,7 @@ Global {8AA5683F-E4E6-4D43-95C1-30F7F5C1C301} = {1D9940E4-09D4-42B9-B72D-2DA4D1AA00EB} {716765C5-EF6D-44B3-9FEB-2F25E617C70A} = {20A4CE3F-D6FD-4FA2-91EB-1AC62221A4FE} {50C047E2-DBFC-4652-9C8F-B3B3F3CD5B98} = {20A4CE3F-D6FD-4FA2-91EB-1AC62221A4FE} + {7D569F94-FDE6-4B68-9399-FC1DCF9090B7} = {5FD6DE92-1A55-4261-A0AC-4FF2166134E5} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {95BFE15C-2D7D-47F7-8108-AAD1B212E52D} diff --git a/src/DFlow.Persistence/DFlow.Persistence.csproj b/src/DFlow.Persistence/DFlow.Persistence.csproj index c9aa73b..8087074 100644 --- a/src/DFlow.Persistence/DFlow.Persistence.csproj +++ b/src/DFlow.Persistence/DFlow.Persistence.csproj @@ -1,6 +1,5 @@  - true diff --git a/src/DFlow.Specifications/DFlow.Specifications.csproj b/src/DFlow.Specifications/DFlow.Specifications.csproj index 21949ac..bf2d86b 100644 --- a/src/DFlow.Specifications/DFlow.Specifications.csproj +++ b/src/DFlow.Specifications/DFlow.Specifications.csproj @@ -1,7 +1,5 @@ - true - true Debug;Release AnyCPU diff --git a/src/DFlow/DFlow.csproj b/src/DFlow/DFlow.csproj index f4d4c6c..976f479 100644 --- a/src/DFlow/DFlow.csproj +++ b/src/DFlow/DFlow.csproj @@ -1,13 +1,16 @@ - true Debug;Release AnyCPU + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index fb6cc67..c48e73e 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,11 @@ + true + true + true + latest https://github.com/roadtoagility/dflow/raw/master/docs/img/logodflow_200x200.png - netstandard2.0 + net6.0 Debug;Release;Release Profilling AnyCPU 10 diff --git a/src/contrib/Directory.Build.props b/src/contrib/Directory.Build.props index 36fe078..78126e5 100644 --- a/src/contrib/Directory.Build.props +++ b/src/contrib/Directory.Build.props @@ -1,5 +1,9 @@ + true + true + true + latest https://github.com/roadtoagility/dflow/raw/master/docs/img/logodflow_200x200.png net6.0 Debug;Release; diff --git a/tests/DFlow.Testing/DFlow.Testing.csproj b/tests/DFlow.Testing/DFlow.Testing.csproj index 4dcbaa6..24f1ba1 100644 --- a/tests/DFlow.Testing/DFlow.Testing.csproj +++ b/tests/DFlow.Testing/DFlow.Testing.csproj @@ -28,10 +28,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all + - + runtime; build; native; contentfiles; analyzers; buildtransitive all