I've been playing with templates again.
I'm trying to make a template to make a DTO for a typed view.
Here is a snippet of the template:
public virtual <[If IsNullable]>Nullable<<[TypeOfTypedViewField]>><[Else]><[TypeOfTypedViewField]><[EndIf]> <[TypedViewFieldName]>
And an example of what this will generate:
public virtual Nullable<System.String>System.String PrimaryPhone
As you can see it is adding System.String twice. Maybe I've been staring at this too long but I can't seem to see what is wrong beside the <[Else]> directive being ignored.
Any thoughts?
-Luke
Oh... I'm using v2.6.