Code compilation .net standard DevArt MSQL-DbDriver

Posts   
 
    
Nistech
User
Posts: 7
Joined: 11-Mar-2011
# Posted on: 29-Apr-2020 17:51:04   

Hey,

we use the last Version (tested beta version too) of LLBLGen Pro.

We run into the following errors, if we compile the code:

Task: Generate VS.NET 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: Generate VS.NET 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)

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: 29-Apr-2020 17:33.55
Task group: SD.EntityFramework.v6 (DbContext API, Netstandard). 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)
•   Template assembly source code written to C:\Users\spielhagen\AppData\Local\Temp\758A392F-06F3-498b-AED9-D85A4C795BDA\lptTempDebugSource.cs.
•   Code generated for entity 'Core.Calendar' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Calendar.cs' successfully.
•   Code generated for entity 'Core.CalendarEvent' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\CalendarEvent.cs' successfully.
•   Code generated for entity 'Core.CalendarFeed' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\CalendarFeed.cs' successfully.
•   Code generated for entity 'Core.File' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\File.cs' successfully.
•   Code generated for entity 'Core.Member' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Member.cs' successfully.
•   Code generated for entity 'Core.MemberField' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\MemberField.cs' successfully.
•   Code generated for entity 'Core.MemberGroup' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\MemberGroup.cs' successfully.
•   Code generated for entity 'Core.MemberPage' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\MemberPage.cs' successfully.
•   Code generated for entity 'Core.MemberToGroup' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\MemberToGroup.cs' successfully.
•   Code generated for entity 'Core.News' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\News.cs' successfully.
•   Code generated for entity 'Core.NewsArchive' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\NewsArchive.cs' successfully.
•   Code generated for entity 'Core.NewsFeed' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\NewsFeed.cs' successfully.
•   Code generated for entity 'Core.User' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\User.cs' successfully.
•   Code generated for entity 'Core.UserGroup' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\UserGroup.cs' successfully.
•   Code generated for entity 'Core.UserToGroup' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\UserToGroup.cs' successfully.
•   Code generated for entity 'Nistech.Abobuchungen' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Abobuchungen.cs' successfully.
•   Code generated for entity 'Nistech.Einzelbuchungen' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Einzelbuchungen.cs' successfully.
•   Code generated for entity 'Nistech.Mietobjekte' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Mietobjekte.cs' successfully.
•   Code generated for entity 'Nistech.Saison' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Saison.cs' successfully.
•   Code generated for entity 'Nistech.Saisonpreise' into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\Saisonpreise.cs' successfully.
Task: Generate ValueType Classes (SD.Tasks.Base.ConsumeLptTemplate)
Task: Generate TypedListRow Classes (SD.Tasks.Base.ConsumeLptTemplate)
Task: Generate TypedViewRow Classes (SD.Tasks.Base.ConsumeLptTemplate)
Task: Generate CommonEntityBase Class (SD.Tasks.Base.ConsumeLptTemplate)
•   Code generated for generic directive into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Model\EntityClasses\CommonEntityBase.cs' successfully.
Task: Generate CommonValueTypeBase Class (SD.Tasks.Base.ConsumeLptTemplate)
Task: Generate CommonTypedViewRowBase Class (SD.Tasks.Base.ConsumeLptTemplate)
Task: Generate VS.NET 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 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)
•   Code generated for generic directive into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Persistence\ContaoDataDataContext.cs' successfully.
Task: Generate app.config file (SD.Tasks.Base.ConsumeLptTemplate)
•   Code generated for generic directive into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Persistence\app.config' successfully.
Task: Generate Edmx File (SD.Tasks.Base.ConsumeLptTemplate)
•   Code generated for generic directive into file 'D:\P\Qualli.life\Dev 16.0.x\Qualli.ContaoData\Persistence\ContaoData.edmx' successfully.
Task: Generate VS.NET 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: 29-Apr-2020 17:33.56

What are we doing wrong?

Best regards

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 29-Apr-2020 22:51:43   

Please check the documentation for the Supported Databases

Nistech
User
Posts: 7
Joined: 11-Mar-2011
# Posted on: 29-Apr-2020 23:01:46   

We use EntityFramework 6, not Core.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 30-Apr-2020 08:21:43   

I can't reproduce it. Could you please tell the details of the parameters in the task generator pane (or a snapshot)?

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 30-Apr-2020 09:28:47   

You've chosen .net standard for EF v6. We don't support MySQL for EF v6 on .net standard. See: https://www.llblgen.com/Documentation/5.7/Entity%20Framework/V56/SupportedConstructs.htm#supported-constructs

If you choose .NET v4.8 for instance instead of .net standard, it will work fine.

Frans Bouma | Lead developer LLBLGen Pro