Search code examples
sitecoresitecore7.2sitecore-mvc

Sitecore : Method not found: 'Sitecore.Mvc.Presentation.Rendering


Version: Sitecore 7.2 rev. 140526.exe, MVC 5

I am trying to do a small poc with Sitecore MVC. Where I have defined some placeholder in the layout and I have added some components.Now if I am trying to view the page I get below issue.

Any Idea??

enter image description here

Thanks,


Solution

  • I was having the same issue some time ago after upgrading from Sitecore 7 (MVC3) to Sitecore 7.2 (MVC5). The cause was an old version of the Sitecore.Mvc.dll that was being copied into my website's bin folder on compile.

    The (file) version you need of the file is 1.0.0.4757. Mine was still 1.0.0.3xx-something. Don't mix this up with the version that's displayed in Visual Studio, as both files show up identically as being 1.0.0.