Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Razor on Mono
mathijs
#1 Posted : Saturday, January 07, 2012 8:58:45 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/7/2012(UTC)
Posts: 3
I installed Kooboo on Mono (on a Mac) and I can build the solution and start the website. However, I get an error saying "Not supported engine for '.cshtml'". I'm probably missing some references to MVC Razor assemblies but I can't get it to work. Does anyone have a suggestion how to fix this?

Also, I'm unable to add a new layout or view. The flyout menu on the "Create New" doesn't, well, fly out. I should get the options "Razor" and "Webform".

Any suggestions?
jifeng
#2 Posted : Sunday, January 08, 2012 3:05:20 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
Please copy the Kooboo.CMS.Sites.TemplateEngines.Razor.dll into the bin folder under Kooboo.CMS.Web manually. The build actions do not works without Windows.

And also, please remove the file "Microsoft.Web.Infrastructure.dll" from Kooboo.CMS.Web bin folder on mono.

If you just want to install Kooboo CMS on mono, I suggest you download the file Kooboo_CMS_mono.zip file, it can run on mono directly.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.049 seconds.