- You must register your
VirtualPathProviderwithin theGlobal.asaxApplication_Starthandler. - You must call the view in your DLL using the special path like so:
return View("~/Plugin/YOURDLL.dll/FULLNAME_YOUR_VIEW.aspx");
Here’s an article with downloadable code sample that demonstrates this:
http://www.wynia.org/wordpress/2008/12/aspnet-mvc-plugins/