about nancyfx use dotliquid viewengine

134 views Asked by At

I have referenced Nancy.Viewengines.DotLiquid and DotLiquid but there is a bug in NancyFx response:

Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'index' Currently available view engine extensions: sshtml,html,htm Locations inspected: views/Index/index-zh-CN,views/Index/index,Index/index-zh-CN,Index/index,views/index-zh-CN,views/index,index-zh-CN,index

this.ViewEngines.ToList() only has Nancy.ViewEngines.SuperSimpleViewEngine.SuperSimpleViewEngineWrapper.

How can I set the dotliquid engine for nancy?

0

There are 0 answers