I want to put several template files on a directory named "Templates", relative to the executable of my application, and use them. One template file, for instance, is named "Globals.st".
That way, I created a TemplateGroupDirectory and loaded the template:
var group = new TemplateGroupDirectory("Templates");
var tmpl = group.GetInstanceOf("Globals");
On trying to get the instance of the template I've got a message saying that occurs a NullReferenceException.
What am I missing?