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:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: