This project is read-only.

Using different System.Web.WebPages

Mar 18, 2013 at 10:20 PM
Edited Mar 18, 2013 at 10:38 PM
Hi all,

I am wanting to isolate controllers and views in a separate class lib project (VS2012, CLR 4.0) for my MVC 3 site to be able to call at run time (plug-ins). When I try and call a controller method that lives in the class lib, I get that MVC error saying it can't find the view, with all the paths it tried.

I had to make the same change that other poster suggested by making sure System.Web.WebPages agreed between the MVC project and the class lib projects (thanks, by the way!).

If the project is MVC 3, does it really make a difference which System.Web.Webpage you use, as long at they agree across all projects?