Whenever I create an MVC web application their is a second Web.config
file in the solution. It is inside the Views
folder.
If I remove it, BadThings
happen.
But any time, things are needed to be added to a Web.config (nuget packages, connection strings, app settings) it only ever goes into the root Web.Config
, and I try to never make changes to this second beast.
Also, it was just one other headache when needing to upgrade apps from MVC3 -> MVC4 -> MVC5
What is the Views
Web.Config
used for, and what sort of changes are ever made for it?
Thanks.