Upgrade a tempalte from an old LLBL version to current version

Posts   
 
    
Heike
User
Posts: 14
Joined: 31-Jan-2006
# Posted on: 03-Feb-2006 18:02:00   

I've got templates (1 config file and 2 template files) which were customized with an older LLBL's version, supporting VS 2003.

As I want to use/upgrade these tempaltes.There are two questiones.

  1. How do I upgrade these files to current version supporting VS 2005? When using the Template Studio, all former bound templates, which are former official templates, are marked red. That means, as far as I understood, templates are missing. Do I have to download former official templates and bind them to a new LLBL-Project, which supports VS 2005confused

2.I is possible to use a LLBL-Project, compiled for VS 2003, which a VS 2005-Project only uses a 'DataLayer' confused And how would I then use it confused

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 04-Feb-2006 02:54:36   
  1. How do I upgrade these files to current version supporting VS 2005? When using the Template Studio, all former bound templates, which are former official templates, are marked red. That means, as far as I understood, templates are missing. Do I have to download former official templates and bind them to a new LLBL-Project, which supports VS 2005

I would do a compare against original template and your new one to find the differences and then start with the new 2005 template and try to make your modifications to the appropriate places in those templates. If you run into any issues in particular then I wouldn't hesitate to ask. As far as the red files I would just ensure that the paths look valid in the config.

2.I is possible to use a LLBL-Project, compiled for VS 2003, which a VS 2005-Project only uses a 'DataLayer' And how would I then use it

You could just add the reference in the 2005 project to the 2003 compiled dll. You would then be able to use it and if you have the debug file then you can debug the code also. If you try to add the actual project to the solution it will try to upgrade your project.

Heike
User
Posts: 14
Joined: 31-Jan-2006
# Posted on: 06-Feb-2006 17:08:12   

bclubb wrote:

  1. How do I upgrade these files to current version supporting VS 2005? When using the Template Studio, all former bound templates, which are former official templates, are marked red. That means, as far as I understood, templates are missing. Do I have to download former official templates and bind them to a new LLBL-Project, which supports VS 2005

I would do a compare against original template and your new one to find the differences and then start with the new 2005 template and try to make your modifications to the appropriate places in those templates. If you run into any issues in particular then I wouldn't hesitate to ask. As far as the red files I would just ensure that the paths look valid in the config.

I have altered my new cinfig file now I am missing two (former templatesconfused ) These are: entityCollectionUsingEntityBase.template and daoUsingEntityBase.template. Can I ignore these templates or do I need them in the current version.?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 06-Feb-2006 17:38:25   

You can ignore these. Be sure you base your .config file on the NEW .config files, so you have the proper templates bound to template id's. The templates you refer to are no longer used.

Frans Bouma | Lead developer LLBLGen Pro