Having a single _viewstart and web.config when using areas
Is it possible to have a single _viewtstart.cshtml and web.config file when using area开发者_JAVA百科s in MVC3. I'm finding that I need to have the _viewstart.cshtml and web.config replicated in every area. This seems rather daft especially with the _viewstart file.
Couple of options:
Move the _viewStart to the root of your site
Or - put in a pre-build event to copy the _viewStart to the areas
HTH.
精彩评论