So I have vs.net 2010.
I downloaded the DotLiquid.dll from: https://github.com/formosatek/dotliquid
I created a simple method to test it:
public static void DL()
{
var template = Template.Parse("hi {{name}}"); // Parses and compiles the template
Console.WriteLine("Template is : " + template.Render());
}
I have:
using DotLiquid;
at the top of the file.
No idea why I am getting this error, very confused!
Also check that you have the version that is tergetted to the same .Net framework version as what you are using.
This means if you are using the framework v4.0 Client Profile, you may have to retarget to the full version. If you are already using the fll version and DotLiquid is using the Client Profile, that is fine.
If you are targetting v4, and DotLiquid is using 3.5, you will have to retarget your project to 3.5, or recompile DotLiquid to v4.
Did that make sense?