Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using Umbraco 8.0.1 and im trying to do the normal MVC pattern i usually do on version 7...
I have a controller (see below) and im when trying to add the directive like i normally do (hover over and add it) its not finding anything for RenderModel...
Any ideas where im going wrong?
public class HomeController : RenderMvcController
public override ActionResult Index(RenderModel model)
Any pointers would be great!
I'm pretty sure i need to reference umbraco.dll or i think that was the case in version 7, but not overall sure here!
I have the following Umbraco references in my project:
Umbraco.Web.PublishedContentModels (im using model builder dll mode to a custom project)
RenderModel has been replaced by ContentModel in V8
Try that instead
The rest is same as V7
Thanks Marc! Worked a treat!
Thanks Marc . Great !!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted