Saving Custom Presets - LLBLGen 3.0

Posts   
 
    
smlemmon
User
Posts: 3
Joined: 04-Sep-2007
# Posted on: 16-Aug-2010 14:05:35   

Hi,

I am reasonably new to using LLBLGen although I have had it for some time and only just upgraded to 3.0.

That said, please forgive me if I am being stupid.

ANyway, I am wanting to customise some of my generated code, in particular the folder that the code is generated to when generating an NHibernate project.

So, what I tried first was using the existing SD.NHibernate (XML and Classes) preset, modified some of the parameters of the tasks to how I wanted them and then clicked the Save As button and gave it a name.

THis worked, but next time I went into the Code Generation window, the new preset that I saved was not in the drop down list.

I then tried creating a new Preset and saving that, but again I had the same problem, it did not appear in the drop down box the next time I went into the Code Generation window.

Any help or guidance would be very much appreciated.

Kind Regards

Simon

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 16-Aug-2010 16:26:50   

Maybe you saved them into a folder which isn't reachable (as presets have to be placed in known tasks folders).

You could also try the refresh code generation meta-data button (the green cyclic arrow button between the templatebindings button and the quick model button on the toolbar).

smlemmon
User
Posts: 3
Joined: 04-Sep-2007
# Posted on: 16-Aug-2010 17:22:39   

Hi,

Yes, I was actually tring to save it to a different location.

I saved it to the correct folder and all now works perfectly.

Thanks for the very quick response. Much appreciated.

Simon