Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

possible to share views across multiple mvc 3 projects

I am building several different asp.net mvc 3 web projects all under one solution. I'd like to be able to utilize a few views across all of those projects as they're all going to be displaying the same thing on 2 or 3 different pages (with some custom stuff plugged in per the application).

Is this possible to do?

like image 526
Christopher Johnson Avatar asked Aug 20 '11 19:08

Christopher Johnson


1 Answers

Only thing I can think of is to compile your cshtml into a separate assembly (assuming you are using RAZOR). See here.

like image 150
Juan Ayala Avatar answered Oct 07 '22 19:10

Juan Ayala