Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Appenders, Builds, Core
    • Labels:
      None
    • Environment:
      Tested on .NET 2.0 RTM (v2.0.50727) with Visual Studio 2005 RTM

      Description

      Updates to the source that allow building under .NET 2.0 RTM with no source code related warnings. Warnings that do appear are related to xml documentation, and a deprecated nant method call. Updates are commented as appropriate to indicate the compiler warning resolved.

      I updated the nant build file to include a new reference needed for 2.0 but since nant (as of 0.85 rc3) doesn't recognize the new framework yet I was unable to test building using the nant build. Visual Studio 2005 solution/project files are attached.

      1. log4net-fx-2.0.patch
        14 kB
        James Rosenfeld
      2. log4net.Tests.2005.csproj
        6 kB
        James Rosenfeld
      3. log4net.2005.sln
        1 kB
        James Rosenfeld
      4. log4net.2005.csproj
        24 kB
        James Rosenfeld

        Activity

        Hide
        Ron Grabowski added a comment -

        Lines 61 and 68 of XmlLayoutTest.cs do not compile with VS2003.

        Show
        Ron Grabowski added a comment - Lines 61 and 68 of XmlLayoutTest.cs do not compile with VS2003.
        Hide
        Nicko Cadell added a comment -

        I have checked in a code change that resolves the obsolete warning messages from the .NET 2.0 compiler.

        Show
        Nicko Cadell added a comment - I have checked in a code change that resolves the obsolete warning messages from the .NET 2.0 compiler.
        Hide
        James Rosenfeld added a comment -

        Got the latest nightly build of nant and ran it against my working copy of log4net under 2.0. It will compile and build successfully if warnings as errors are disabled - as I mentioned above, there are still a lot of warnings related to xml doc comments.

        Show
        James Rosenfeld added a comment - Got the latest nightly build of nant and ran it against my working copy of log4net under 2.0. It will compile and build successfully if warnings as errors are disabled - as I mentioned above, there are still a lot of warnings related to xml doc comments.
        Hide
        Gert Driesen added a comment -

        Recent nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest) do support .NET 2.0 RTM.

        I'll also be working on getting log4net built on .NET 2.0 RTM (without warnings) and Mono (1.0 / 2.0 profile).

        Show
        Gert Driesen added a comment - Recent nightly builds of NAnt ( http://nant.sourceforge.net/nightly/latest ) do support .NET 2.0 RTM. I'll also be working on getting log4net built on .NET 2.0 RTM (without warnings) and Mono (1.0 / 2.0 profile).
        Hide
        James Rosenfeld added a comment -

        I noticed that every time I update the issue the list gets spammed - sorry about that.

        Show
        James Rosenfeld added a comment - I noticed that every time I update the issue the list gets spammed - sorry about that.

          People

          • Assignee:
            Nicko Cadell
            Reporter:
            James Rosenfeld
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development