Return-Path: X-Original-To: apmail-logging-log4net-dev-archive@www.apache.org Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0A16D800 for ; Sun, 19 May 2013 18:13:16 +0000 (UTC) Received: (qmail 4836 invoked by uid 500); 19 May 2013 18:13:17 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 4768 invoked by uid 500); 19 May 2013 18:13:16 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 4594 invoked by uid 99); 19 May 2013 18:13:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 May 2013 18:13:16 +0000 Date: Sun, 19 May 2013 18:13:15 +0000 (UTC) From: =?utf-8?Q?Dan_H=C3=A4ndevik_=28JIRA=29?= To: log4net-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4NET-377) XmlConfigurator.ConfigureAndWatch is not backwards compatible to 1.2.10 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4NET-377?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D136= 61619#comment-13661619 ]=20 Dan H=C3=A4ndevik commented on LOG4NET-377: -------------------------------------- So from what I can understand, there is no official version of log4net that= is lower than 1.2.11? Both 1.2.9 and 1.2.10 are marked as incubator versio= ns and code compiled against those versions are not compatible with 1.2.11? =20 > 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=C3=A4ndevik > Assignee: Dominik Psenner > Priority: Blocker > > The log4net.Config.XmlConfiguration method ConfigureAndWatch(FileInfo) di= ffers 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 us= es an assembly redirect to use the newer version I'll get a runtime error s= tating > 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira