Skip to content

Commit a93015a

Browse files
authored
Merge pull request #61 from fastman61/main
Add .Net 8.0 Support
2 parents ea6836b + ea3bd3a commit a93015a

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
5.0.x
2323
6.0.x
2424
7.0.x
25+
8.0.x
2526
2627
- name: Display .NET version
2728
run: dotnet --version
@@ -30,7 +31,7 @@ jobs:
3031
run: dotnet restore
3132

3233
- name: Build
33-
run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net6.0 --no-restore
34+
run: dotnet build EntityFrameworkCore.DataEncryption.sln --configuration Release -f net8.0 --no-restore
3435

3536
- name: Run unit tests
3637
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings ./test/EntityFrameworkCore.DataEncryption.Test/runsettings.xml
@@ -42,4 +43,4 @@ jobs:
4243
uses: codecov/codecov-action@v3
4344
with:
4445
files: ./test/EntityFrameworkCore.DataEncryption.Test/TestResults/coverage.opencover.xml
45-
fail_ci_if_error: true
46+
fail_ci_if_error: true

samples/AesSample.Fluent/AesSample.Fluent.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<LangVersion>10</LangVersion>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.10" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.10" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.10" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

samples/AesSample/AesSample.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<LangVersion>10</LangVersion>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.10" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.10" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.10" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

src/EntityFrameworkCore.DataEncryption/EntityFrameworkCore.DataEncryption.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
55
<LangVersion>10.0</LangVersion>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<AssemblyName>EntityFrameworkCore.DataEncryption</AssemblyName>
@@ -40,6 +40,9 @@
4040
<ItemGroup Condition="('$(TargetFramework)' == 'net7.0')">
4141
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[7,)" />
4242
</ItemGroup>
43+
<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
44+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)" />
45+
</ItemGroup>
4346

4447
<ItemGroup>
4548
<None Include="..\..\LICENSE">

test/EntityFrameworkCore.DataEncryption.Test/EntityFrameworkCore.DataEncryption.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>10</LangVersion>
66
<IsPackable>false</IsPackable>
77
<AssemblyName>Microsoft.EntityFrameworkCore.Encryption.Test</AssemblyName>
@@ -18,8 +18,8 @@
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
</PackageReference>
21-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.11" />
22-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.11" />
21+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
22+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
2323
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
2424
<PackageReference Include="xunit" Version="2.4.2" />
2525
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">

0 commit comments

Comments
 (0)