It is not defined in the template set config file error when generating

Posts   
 
    
tkelley66
User
Posts: 16
Joined: 16-Apr-2013
# Posted on: 30-Jan-2018 19:54:56   

I installed a new version of LLBLGen Pro on my pc (v5.3). I had version 1.2005.1 install previously. I had copied the v1.2005.1 folder to a different location before installing the latest version, but now when I run the old version and try to generate code I get the following error:

Could not find template 'xxxxx'. It is not defined in the template set config file.

Can anyone tell me where the template set config file lives?

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 30-Jan-2018 20:42:38   

Usually you should not move files of any installed software. Either re-install it, or move it back to where it was installed.

tkelley66
User
Posts: 16
Joined: 16-Apr-2013
# Posted on: 30-Jan-2018 20:50:01   

I tried both and I am still getting the error.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 31-Jan-2018 11:05:19   

This isn't with a shipped file with the installer, but with a custom one? Did you copy everything? THe config files are in the driver folders in v1: <installation folder>\Drivers\SqlServer\

the config files contain templatebindings (like the CSharpTemplateSet.config, which in v2+ has been changed to *.templatebindings) and these refer to template files.

Your custom templatebindings config file likely didn't move or you copied the folder to the wrong folder so the folders don't match anymore.

Frans Bouma | Lead developer LLBLGen Pro
tkelley66
User
Posts: 16
Joined: 16-Apr-2013
# Posted on: 31-Jan-2018 14:26:06   

After further review I found the the Template set to use was set to the wrong set, once that was corrected it worked find.