[
https://issues.apache.org/jira/browse/LOG4NET-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661313#comment-13661313
]
Dominik Psenner commented on LOG4NET-377:
-----------------------------------------
https://issues.apache.org/jira/browse/LOG4NET-2 states that this breaking
change was done with revision 607475 and thus was released along with 1.2.10.
Therefore you have been using log4net 1.2.9-BETA and, by being a beta, was
subject to API breaking changes.
> XmlConfigurator.ConfigureAndWatch is not backwards compatible to 1.2.10
> -----------------------------------------------------------------------
>
> Key: LOG4NET-377
> URL: https://issues.apache.org/jira/browse/LOG4NET-377
> Project: Log4net
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.11
> Environment: .net 2 (and probably other versions as well
> Reporter: Dan Händevik
> Assignee: Dominik Psenner
> Priority: Blocker
>
> The log4net.Config.XmlConfiguration method ConfigureAndWatch(FileInfo)
> differs from version 1.2.10 and 1.2.11.
> In 10 it has void as return value and in 1.2.11 it returns an ICollection.
> If I compile against 1.2.10 and then replaces the dll with 1.2.11 and uses
> an assembly redirect to use the newer version I'll get a runtime error stating
> Method not found: 'Void
> log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira