Otis wrote:
The templateset config points to the template file in the templateBinding tag. Could you verify for me that the path in the templateBinding is correct? I.o.w.: did you place the template in the correct folder?
Hi,
<task name="DerivedEntityFactoryClassesGenerator" assemblyFilename="SD.LLBLGen.Pro.TaskPerformers.dll" taskPerformerClass="SD.LLBLGen.Pro.TaskPerformers.CodeEmitter">
<parameter name="destinationFolder" value="DatabaseGeneric\FactoryClasses"/>
<parameter name="failWhenExistent" value="false"/>
<parameter name="filenameFormat" value="DerivedEntityFactories.[extension]"/>
<parameter name="templateID" value="SD_DerivedEntityFactoriesAdapterTemplate"/>
<parameter name="emitType" value="generic"/>
</task>
That is the definition of the template.
The two templates are in SharedTemplates C# (I basically copied all files as they were laid out in the zipped package).
<!-- Derived entity specific template bindings -->
<templateBinding templateID="SD_DerivedEntityFactoriesAdapterTemplate" templateFilename="..\..\..\SharedTemplates\C#\derivedEntityFactoriesAdapter.template" />
<templateBinding templateID="SD_DerivedEntityAdapterTemplate" templateFilename="..\..\..\SharedTemplates\C#\derivedEntityAdapter.template" />
This path is the same as all the other template bindings and they seem to work.