Skip to content

[Feature] Update to .NET 10 (Method not Found) #250

@bladnor

Description

@bladnor

After upgrading EF Core and .Net to Version 10 the following error occurs with Handlebars Version 9.0.0:

System.MissingMethodException: Method not found: 'Boolean Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigationBase.get_IsCollection()'.
at EntityFrameworkCore.Scaffolding.Handlebars.HbsCSharpEntityTypeGenerator.<>c.b__42_0(INavigationBase n)
at EntityFrameworkCore.Scaffolding.Handlebars.HbsCSharpEntityTypeGenerator.<>c.b__42_0(INavigationBase n)
at System.Linq.Enumerable.IEnumerableWhereIterator`1.ToList()
at EntityFrameworkCore.Scaffolding.Handlebars.HbsCSharpEntityTypeGenerator.GenerateConstructor(IEntityType entityType)
at EntityFrameworkCore.Scaffolding.Handlebars.HbsCSharpEntityTypeGenerator.GenerateClass(IEntityType entityType)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions