How to Prevent MVC 4 Child Application inheriting Parent Application (Umbraco MVC3) web.config

后端 未结 2 966
庸人自扰
庸人自扰 2020-12-19 20:26

I have Umbraco deployed on the server. Currently I am trying to deploy MVC 4 Application as a child application but somehow the child\'s views\\web.config inherits the confi

2条回答
  •  萌比男神i
    2020-12-19 20:38

    You have a few options. Allow the inheritance and remove the sectionGroup from the child config(s) or something like this in any parent:

    
      
        

    Intellisense may complain about this however but it should compile and run fine.

    This question might also be of value: Disable web.config inheritance?

提交回复
热议问题