For those who setup muli project areas in ASP.NET MVC 2 in VS 2010, I have a few questions for you:
- Can other project areas use one master page? Or does each have to have their own master page?
- What about the web.config file? Does each area need the config file? Or does it rely on the master?
- I tried removing the master page reference, but I get an intellisense error and failed to monitor changes after following this: http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx
I assume I need to leave in the master page so that at least works.
Thanks.
Yes. The master page is just a file, and it can be referenced anywhere in your application
There is a web.config in each area. In my application they all look exactly the same, so I assume the application is taking its settings from each individual web.config, and that the root area also has its own individual settings in the root web.config.