From ea3bd3a2473410a4d3efbf6cbc40887bfa233c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Y=C4=B1ld=C4=B1z?= Date: Wed, 15 Nov 2023 15:39:26 +0300 Subject: [PATCH] Add .Net Support Update build.yml Fix build. error --- .github/workflows/build.yml | 5 +++-- samples/AesSample.Fluent/AesSample.Fluent.csproj | 8 ++++---- samples/AesSample/AesSample.csproj | 8 ++++---- .../EntityFrameworkCore.DataEncryption.csproj | 5 ++++- .../EntityFrameworkCore.DataEncryption.Test.csproj | 6 +++--- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61ceef2..ff70b5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,7 @@ jobs: 5.0.x 6.0.x 7.0.x + 8.0.x - name: Display .NET version run: dotnet --version @@ -30,7 +31,7 @@ jobs: run: dotnet restore - name: Build - run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net6.0 --no-restore + run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net8.0 --no-restore - name: Run unit tests run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings ./test/EntityFrameworkCore.DataEncryption.Test/runsettings.xml @@ -42,4 +43,4 @@ jobs: uses: codecov/codecov-action@v3 with: files: ./test/EntityFrameworkCore.DataEncryption.Test/TestResults/coverage.opencover.xml - fail_ci_if_error: true \ No newline at end of file + fail_ci_if_error: true diff --git a/samples/AesSample.Fluent/AesSample.Fluent.csproj b/samples/AesSample.Fluent/AesSample.Fluent.csproj index 31cee5b..9bea61a 100644 --- a/samples/AesSample.Fluent/AesSample.Fluent.csproj +++ b/samples/AesSample.Fluent/AesSample.Fluent.csproj @@ -2,14 +2,14 @@ Exe - net6.0 + net8.0 10 - - - + + + diff --git a/samples/AesSample/AesSample.csproj b/samples/AesSample/AesSample.csproj index 4a89054..dad6887 100644 --- a/samples/AesSample/AesSample.csproj +++ b/samples/AesSample/AesSample.csproj @@ -2,14 +2,14 @@ Exe - net6.0 + net8.0 10 - - - + + + diff --git a/src/EntityFrameworkCore.DataEncryption/EntityFrameworkCore.DataEncryption.csproj b/src/EntityFrameworkCore.DataEncryption/EntityFrameworkCore.DataEncryption.csproj index bad5761..afbe27f 100644 --- a/src/EntityFrameworkCore.DataEncryption/EntityFrameworkCore.DataEncryption.csproj +++ b/src/EntityFrameworkCore.DataEncryption/EntityFrameworkCore.DataEncryption.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net6.0;net7.0 + netstandard2.0;net6.0;net7.0;net8.0 10.0 true EntityFrameworkCore.DataEncryption @@ -40,6 +40,9 @@ + + + diff --git a/test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj b/test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj index d3120db..e2dc013 100644 --- a/test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj +++ b/test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 10 false Microsoft.EntityFrameworkCore.Encryption.Test @@ -18,8 +18,8 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +