Template with name LINQ C# is not registered.

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
davesworld
Posts: 2
Joined: Mon 09 Mar 2009 03:32

Template with name LINQ C# is not registered.

Post by davesworld » Mon 09 Mar 2009 03:44

Hi -

I am evaluating the Beta for dotConnect for MySQL 5.20 Beta.
I created the file Subscriber.lqml and opened using Entity Developer for dotConnect version 2.0.5 Beta. I places three tables, two having foreign key relationsships onto the window after creating the socket for MySQL. I hit save.

I open Subscriber.cs, curious why nothing seems to work and got the message:
// Custom tool DevartLinqToSqlGenerator failed. See Error List window for details.

Error window states:
Custom tool error: Template with name LINQ C# is not registered.

Dumb question on my part, but how do I solve this?

Thanks,
David Nussdorfer :?:

davesworld
Posts: 2
Joined: Mon 09 Mar 2009 03:32

More Info

Post by davesworld » Mon 09 Mar 2009 04:00

After reviewing the Entity quick start instructions, I noticed the Generate Model check box is greyed out. Also f7 - Generate is also greyed out. I did do a model valdation with no luck. :cry:

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 10 Mar 2009 09:20

Go to the Project->Properties in the Entity Developer project and select the LINQ C# language from the dropdown list.
The generation should succeed.
Please let me know if it doesn't help.

Post Reply