Compiling ASP.NET Razor cshtml helpers into a separate library / DLL

Good post about how to package up your MVC razor views into a shared .NET assembly that you can use in multiple projects.  In the past, I often had duplicated views / helpers in each project that was using ASP.NET MVC 3 w/Razor.  This was getting to be a maintenance headache, so I looked around and saw Chris Van De Steeg’s post about how to actually accomplish this.

Chris was inspired by David Ebb’s post, orignally:


Get every new post delivered to your Inbox.