I have 2 assemblies Combres and log4net
Both assemblies contain the same log4net.Appender namespace (internal code included) – I need to inherit log4net.Appender.AdoNetAppender.
How do I accomplish this.
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.
Fully qualify the type. For example if you are trying to inherit from this class:
If you are trying to use / create an instance of this class:
If
Combresandlog4netboth contain a typeAdoNetAppenderin thelog4net.Appendernamespace then you are in more trouble (and someone made a mistake – namespaces are designed to avoid these sorts of conflicts).If this does happen then you can use the assembly reference “Aliases” property to resolve the conflict as described in What use is the Aliases property of assembly references.