Errors in generating codes using Entity Framework Core version 8

Posts   
 
    
Paulcosci
User
Posts: 1
Joined: 01-Sep-2025
# Posted on: 01-Sep-2025 08:45:50   

I'm encountering errors when I'm attempting to generate codes. My target framework is Entity Framework Core v8 and my database is MySQL 5.5.6. I installed the trial version of LLBL Gen Pro v.5.12.1.

Here are the generated errors:

Source code generator process results
Code generation tasks execution results
Code generation results for code generation task for source 'Entity Model'
Task execution log of tasks for group ''.
Task execution started on: 01-Sep-2025 14:42.30
Task group: SD.EntityFramework.Core v8. For database: MySql (MySqlDirect) (758A392F-06F3-498b-AED9-D85A4C795BDA).
Task group: Generate Entity Framework Domain model with POCO entities (SD.Tasks.Base.GenericTaskGroup). For database: MySql (MySqlDirect) (758A392F-06F3-498b-AED9-D85A4C795BDA).
Task: Generate Entity Classes (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_Entity'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate ValueType Classes (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_ValueType'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate TypedListRow Classes (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_TypedList'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate TypedViewRow Classes (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_TypedView'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate CommonEntityBase Class (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_CommonEntityBase'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate CommonValueTypeBase Class (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_CommonValueTypeBase'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate Visual Studio project file (SD.Tasks.Base.GenerateVSNetProject)
Could not find template 'SD_EF_POCO_Model_VsNet'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task group: Generate Entity Framework Database specific code and code first mapping file using DbContext API and POCO entities (SD.Tasks.Base.GenericTaskGroup). For database: MySql (MySqlDirect) (758A392F-06F3-498b-AED9-D85A4C795BDA).
Task: Generate Context Class (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_Context'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate app.config file (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_CodeFirst_AppConfig'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate Code First ModelBuilder Class (SD.Tasks.Base.ConsumeLptTemplate)
Could not find template 'SD_EF_Core_ModelBuilder'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task: Generate Visual Studio project file (SD.Tasks.Base.GenerateVSNetProject)
Could not find template 'SD_EF_POCO_Persistence_VsNet'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)
Task execution ended on: 01-Sep-2025 14:42.30
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 02-Sep-2025 08:09:50   

That's because MySQL isn't a supported database for EF Core 8 in LLBLGen Pro. See: https://www.llblgen.com/Documentation/5.12/Entity%20Framework/VCore8/SupportedConstructs.htm

Frans Bouma | Lead developer LLBLGen Pro