Manager templates error

Posts   
 
    
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 04-Apr-2005 06:00:42   

Generator: Gallery.Core.Managers.Config (1.0) Template Set: Gallery.Core.TemplateSet (1.0) LLBLGen: 1.0.2004.1 Final. Latest build.

Interestingly enough, I have two Gallery.Core.TemplateSet templates listed in the designer. Neither one of them works. I get the following error and I don't know enough about how LLBLGen works to fix it on my own. simple_smile

<code>

Fatal exception caught during task execution.

Task 'PrefectPathElementCollectionGenerator' aborted the process.

Click 'Yes' if you want to see the detailed exception data.

Click 'No' to simply leave the process.

Yes No

</code>

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 04-Apr-2005 09:40:36   

If you click Yes, you'll get the stacktrace etc. Does that stacktrace contain any info?

Frans Bouma | Lead developer LLBLGen Pro
free4all
User
Posts: 35
Joined: 12-Sep-2003
# Posted on: 05-Apr-2005 11:59:13   

I've just tried the templates and got the same error:

 Message:
Compilation of templates threw errors: 
Error CS0006, at line: 0, pos: 0: Metadata file 'D:\!Share\TemplateStudio\RuntimeLibraries\DotNet11\SD.LLBLGen.Pro.ORMSupportClasses.NET11.dll' could not be found

Stack Trace
-----[Core exception]--------------------
   at SD.LLBLGen.Pro.LptParser.DotNetTemplateEngine.Perform(IGenerator executingGenerator, ITask taskDefinition, Hashtable parameters)
   at SD.LLBLGen.Pro.GeneratorCore.Task.Perform(IGenerator executingGenerator)
   at SD.LLBLGen.Pro.GeneratorCore.TaskGroup.Perform(IGenerator executingGenerator)
   at SD.LLBLGen.Pro.GeneratorCore.TaskGroup.Perform(IGenerator executingGenerator)
   at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, TemplateSetDefinition templateSet, ApplicationConfiguration configurationSettings)
   at SD.LLBLGen.Pro.Gui.Forms.MainWindow.StartGeneratorProcess()

Hope this helps.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 05-Apr-2005 12:36:38   

Some left over reference tag at the top of a template I pressume.

I've removed the reference, please export the templates again from the repository, it should work now simple_smile

Frans Bouma | Lead developer LLBLGen Pro
free4all
User
Posts: 35
Joined: 12-Sep-2003
# Posted on: 05-Apr-2005 14:22:18   

May be something to do with my refresh (I'm new to TortoiseSVN) but I found another reference in the file:

EntityManagerBaseTemplate.lpt

Anyway I removed it and all working now thanks!