How-to install a template

Posts   
 
    
methodman
User
Posts: 194
Joined: 24-Aug-2009
# Posted on: 20-Sep-2010 16:29:38   

I'd like to install the managers templates.In the zip file there were two folders.

I copied the content of Task folder in the c:\Program Files\Solutions Design\LLBLGen Pro v2.6\Tasks\ folder and the templates folder content (including the Gallery directory) in the c:\Program Files\Solutions Design\LLBLGen Pro v2.6\Templates\ folder.

Then I started the LLBLGen designer -> Generate ,but I cannot find the templates or the task in the appropriates tabbs.

What am I doing wrong ?

Walaa avatar
Walaa
Support Team
Posts: 14986
Joined: 21-Aug-2005
# Posted on: 20-Sep-2010 16:58:21   

Please use the "AdditionalTemplates" folder instead of the "Templates" folder.

methodman
User
Posts: 194
Joined: 24-Aug-2009
# Posted on: 20-Sep-2010 17:32:23   

Didn't helped.

Here is a printscreen.

(you might want to blur out your ip address / port number in that screen. I didn't approve it for public viewing because of that. -- Otis)

Upps this was really stupid from me :-)

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 21-Sep-2010 05:55:43   

They worked for me. I just unpacked the zip file into LLBLGen v2.6 installation folder. Please tell us your code generation configuration. Mainly the target platform. Manager Templates target .NET 2.0 platform. So maybe you selected something else.

David Elizondo | LLBLGen Support Team
methodman
User
Posts: 194
Joined: 24-Aug-2009
# Posted on: 21-Sep-2010 10:48:57   

The problem was I had .NET 3.5 selected as the target platform.

Now I'm able to add the "Create manager class" task to the queue, as you can see at one of the attached pics.

But when I run the generator, there are some errors :



   Task group: Manager Templates
            Task group: Create Directories
                Task: CoreManagerBaseDirectoryCreator
                Task: CoreManagerDirectoryCreator
                Task: CoreDirectoryCreator
            Task group: Create Manager Classes
                Task: PrefectPathElementCollectionGenerator
                        Could not find template 'PrefectPathElementCollectionTemplate'. 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: EntityManagerBaseGenerator
                        Could not find template 'EntityManagerTemplate'. 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: EntityManagerBaseGenerator
                        Could not find template 'EntityManagerBaseTemplate'. 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: ManagerBaseGenerator
                        Could not find template 'ManagerBaseTemplate'. 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)



I'm using Oracle.

methodman
User
Posts: 194
Joined: 24-Aug-2009
# Posted on: 21-Sep-2010 10:49:54   

Sure and the printscreens..

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 21-Sep-2010 21:19:22   

Are the templates defined for Oracle, I'd guess they are only defined for SQL Server...?

Matt

methodman
User
Posts: 194
Joined: 24-Aug-2009
# Posted on: 22-Sep-2010 10:15:25   

Yes you right, its only a mssql thing.. I've tested it.