Is there a way to load partial views from a class library?
I would like to pull out the common parts from several websites to make them easier to maintain.
Currently I render my partials with (for example)
<%Html.RenderPartial("~/Views/Search/_searchBlock.ascx", ViewData);%>
This is file based, but when creating a class library, the views are compiled. Is there a way to load libraries that are compiled in this library?