-
Notifications
You must be signed in to change notification settings - Fork 23
Check to make sure that the template is either included or that it is inherited by a template that is included.
In .NET, members of a type may not match the name of the parent object. Chances are your template has a field with the same name as the template – Synthesis made the name in code unique to prevent a compilation error. It’s also possible to have two fields with the same name on a template, which would also cause this.
Synthesis uses some logic to make sure names are unique in generated code so as to not create code that doesn’t compile. If you find a template or interface that ends with a number it indicates that there were more than one template of the same name in the same namespace in the generated code or that a namespace existed with the same name as the object type.
No. XSLT renderings don’t compile and aren’t strongly typed so there’s not much point to Synthesis supporting them. .NET-based renderings are faster and much easier to implement logic in, and with the right controls are as simple to make as XSLT.