Hey Randal and Andy,

 

While I understand that I can use TT with ActivePerl as is, what I can't do is this:

 

 

 

using System;

 

class TTDriver

{

///<description>

///Template Toolkit using C#

///</description>

static void Main()

{

      TemplateToolkit template = new TemplateToolkit("default.tt");

 

      template.IncludePath = Server.Mappath("/inc");

      template.Absolute = true;

      template.PreChomp = true;

     

      try

      {

            template.process(Request.PhysicalPath)

      }

      catch (Exception ex)

      {

            Console.WriteLine(template.Error);

      }

}

 

 

 

Regards,

 

Travis Spencer

Portland, OR USA

 

   __o

 _-\<,

(_)/(_)____

 

P.S. Randal, sorry if this ended up in your personal inbox as well; I clicked the reply button instead of created a new message.

Reply via email to