Manager template problems

Posts   
 
    
Posts: 33
Joined: 05-Feb-2005
# Posted on: 13-Feb-2005 17:52:41   

I have used these steps from a previous post to generate the manager templates.

  1. Using windows explorer, created a new folder in C:\Temp\Output\ named StepByStep
  2. Opened the Gallery.Core.TemplateSet.config template set
  3. Opened the eLogic.Framework.lgp project
  4. Selected Generate -> Run Single Task
  5. Selected CompileAndRunSingleLptTemplate
  6. Entered filenameFormat | ManagerBase.cs
  7. Selected ManagerBaseTemplate from the templateId drop down
  8. Set destinationFolder | StepByStep
  9. Clicked the Participating Objects tab (all items were selected)
  10. Clicked the Generator Specific Info tab
  11. Clicked Run Task

This results in the following exception:

Compilation of templates threw errors: Error CS0246, at line: 94, pos: 9: The type or namespace name 'EntityDefinition' could not be found (are you missing a using directive or an assembly reference?)

-----[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.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, TemplateSetDefinition templateSet, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Tools.TemplateEditor.MainForm.RunTasks(ITaskGroup tasksToRun, Project projectToUse)

Anyone have any ideas?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39848
Joined: 17-Aug-2003
# Posted on: 13-Feb-2005 18:43:09   

EntityDefinition is in teh ApplicationCore assembly. Did you install template studio in the llblgen pro folder?

Frans Bouma | Lead developer LLBLGen Pro
Posts: 33
Joined: 05-Feb-2005
# Posted on: 14-Feb-2005 03:53:38   

Yes I extracted all the template studio files to C:\Program Files\Solutions Design\LLBLGen Pro