When I add the following to the web.config file, the error disappears, as expected. Reshaper, correctly, wants you to specify a specific implementation of WebViewPageBase :
<system.web.webPages.razor> <pages pageBaseType="MvcApplication1.WebViewPageBase`1[[TModel]]"> </pages> </system.web.webPages.razor>
and
namespace MvcApplication1 { using System.Web.Mvc; public abstract class WebViewPageBase<TModel> : WebViewPage<TModel> { } }
source share