The remove element lets you remove a key from inside the child web.config, when it’s inherited from the parent web.config. Is it possible to do the opposite? I’d like to replace a key in the parent, that is already defined in the child.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, you can’t remove a key from a “child” configuration.
The inheritance goes the other way and that way only.
Define the key in the parent, as you wish, in the child remove and add it.