EntityFramework.Exceptions icon indicating copy to clipboard operation
EntityFramework.Exceptions copied to clipboard

.NET 10 release compatibility

Open godunko-mikhail opened this issue 2 months ago • 0 comments

Hi! When we can wait for EntityFramework.Exceptions to release?

Currently with this package installed I can see errors like that

Image

code to reproduce Program.cs

using Microsoft.EntityFrameworkCore;

var context = new AppContext(new DbContextOptions<AppContext>());
context.SimpleEntities.ExecuteDelete();


public class AppContext : DbContext
{
    public AppContext(DbContextOptions<AppContext> options)
        : base(options)
    {}
    
    public DbSet<SimpleEntity> SimpleEntities { get; set; }
}

public class SimpleEntity
{
    public int Id { get; set; }
}

.csproj

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net10.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="8.1.3" />
      <PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />
      <PackageReference Include="Npgsql" Version="10.0.0" />
    </ItemGroup>

</Project>

godunko-mikhail avatar Dec 05 '25 05:12 godunko-mikhail