Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sharing views, css, javascript between multiple asp.net mvc 3 projects

It seems to be impossible/hard to share views between several asp.net mvc 3 projects. At least, that's what Google tells me. Please correct me if I am wrong ...

What's about css and js files? Did someone do this already? If so, what is the best practice to achieve this (within a vs studio 2010 solution with several asp.net mvc 3 projects)?

Just curious, is it possible to share css and js between mvc3 areas?

like image 251
cs0815 Avatar asked Feb 17 '26 00:02

cs0815


1 Answers

Since you mention svn - it has "svn:externals" property that lets you map a folder (even from a different repository) to a location under the web site root folder. We used it with success to reuse multiple library tools with external resources (scripts, css files, images and views) in a number of MVC applications.

like image 112
Igor Avatar answered Feb 18 '26 20:02

Igor