Skip to content

Commit

Permalink
Update to .NET 8
Browse files Browse the repository at this point in the history
It has much better scaffolding capabilities for SQLite since dotnet/efcore#30816
  • Loading branch information
0xced committed Dec 9, 2023
1 parent 2ba1ee7 commit 3fac60c
Show file tree
Hide file tree
Showing 27 changed files with 364 additions and 254 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/global",
"sdk": {
"version": "7.0.400",
"version": "8.0.100",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
Expand Down
8 changes: 8 additions & 0 deletions src/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net6.0</Target>
</Suppression>
</Suppressions>
23 changes: 11 additions & 12 deletions src/EFCore.Scaffolding.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<PropertyGroup Label="Compiling">
Expand All @@ -25,7 +25,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<!-- Run `dotnet pack -p:GenerateCompatibilitySuppressionFile=true` to accept breaking changes
<!-- Run `dotnet pack -p:ApiCompatGenerateSuppressionFile=true` to accept breaking changes
See https://docs.microsoft.com/en-us/dotnet/fundamentals/package-validation/overview for more information -->
<PropertyGroup Label="API Validation">
<EnablePackageValidation>true</EnablePackageValidation>
Expand Down Expand Up @@ -65,17 +65,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="EntityFrameworkCore.Jet" Version="7.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.13" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="EntityFrameworkCore.Jet" Version="8.0.0-alpha.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="all" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.11" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="7.21.12" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0" />
<PackageReference Include="System.Data.Odbc" Version="7.0.0" />
<PackageReference Include="System.Data.OleDb" Version="7.0.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.21.121" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0-beta.2" />
<PackageReference Include="System.Data.Odbc" Version="8.0.0" />
<PackageReference Include="System.Data.OleDb" Version="8.0.0" />
</ItemGroup>

<Target Name="ValidateNuGetPackage" AfterTargets="Pack">
Expand Down
Loading

0 comments on commit 3fac60c

Please sign in to comment.