Skip to content

scaffolding doesn't generate any Entity classes, only DbContext #1998

@scastria

Description

@scastria

dotnet 8
EF Core 8
Pomelo 8

I even tried adding Pomelo.EntityFrameworkCore.MySql.Design:

Image

If I use the MySql.EntityFrameCore package, I can scaffold just fine. However, if I try to use the Pomelo package, only the DbContext is created, but no Entity classes. There are no errors given. A verbose log does say, "No design-time services were found", but not sure that is a real error.

Using assembly 'Transformer'.
Using startup assembly 'Transformer'.
Using application base '/Users/shawncastrianni/GIT/transformer/container/source/Transformer/bin/Debug/net8.0'.
Using working directory '/Users/shawncastrianni/GIT/transformer/container/source/Transformer'.
Using root namespace 'Transformer'.
Using project directory '/Users/shawncastrianni/GIT/transformer/container/source/Transformer/'.
Remaining arguments: .
Finding design-time services referenced by assembly 'Transformer'...
Finding design-time services referenced by assembly 'Transformer'...
No referenced design-time services were found.
Finding design-time services for provider 'Pomelo.EntityFrameworkCore.MySql'...
Using design-time services from provider 'Pomelo.EntityFrameworkCore.MySql'.
Finding IDesignTimeServices implementations in assembly 'Transformer'...
No design-time services were found.
No explicit ServerVersion was set.
ServerVersion '8.0.39-mysql' was automatically detected.
Using ServerVersion '8.0.39-mysql'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions