Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-377

XmlConfigurator.ConfigureAndWatch is not backwards compatible to 1.2.10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • 1.2.11
    • None
    • Core
    • None
    • .net 2 (and probably other versions as well

    Description

      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)'.

      Attachments

        Issue Links

          Activity

            People

              nachbarslumpi Dominik Psenner
              dhvik Dan Händevik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: