1

Is it possible to have a single _viewtstart.cshtml and web.config file when using areas 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.

Gaz
  • 1,249
  • 3
  • 19
  • 37

1 Answers1

1

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.

Sunny
  • 6,286
  • 2
  • 25
  • 27