title: The view must derive from WebViewPage, or WebViewPage<TModel>
body: <p>I'm following <a href="http://fzysqr.com/2010/04/26/asp-net-mvc2-plugin-architecture-tutorial/" rel="noreferrer">Justin Slattery's Plugin Architecture tutorial</a> and trying to adapt it for Razor, instead of WebForm Views.</p>
  
  <p>Everything else (controllers, plugin assembly loading, etc) seems to be okay. However, I'm not able to get embedded Razor views to work properly. When I try to browse to the "HelloWorld/Index", I get the following error:</p>
  
  <pre class="lang-none prettyprint-override"><code>The view at '~/Plugins/MyProjectPlugin.dll/MyProjectPlugin.Views.HelloWorld.Index.cshtml' must derive from WebViewPage or WebViewPage&lt;TModel&gt;.
  </code></pre>
  
  <p>The exception is thrown by <code>System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +262</code></p>
  
  <p>I can include the complete stack trace, if needed.</p>
  
  <p>Can anyone advise as to what I might be doing wrong? </p>