This project is read-only.

Compiling Templates

Dec 8, 2010 at 2:01 PM

Hi, I'm looking at your sample in your quickstart guide.


I'm trying to precompile a template, but there is no compile method, no compilewithanonymous, and no I've tried the following namespaces:

using RazorEngine.Templating;

using RazorEngine;

using RazorEngine.Compilation;


What gives?



Dec 8, 2010 at 3:44 PM

Answered my own question.  Apparently the binary download isn't built from the latest source.

Dec 8, 2010 at 5:59 PM


Sorry for the late reply.  We've trying to get some further fixes to do with trust issues before we release v1.2 which will include the update Compile and CompileAnonymous methods.

Dec 8, 2010 at 9:49 PM

Thanks for the reply.  I compiled what I needed from your committed source code.


Keep up the good work!