Log4net
  1. Log4net
  2. LOG4NET-322

Conditional compilation symbols for .net4 Release

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.11
    • Fix Version/s: 1.2.12
    • Component/s: Builds
    • Labels:
      None
    • Environment:
      log4net.vs2010 project

      Description

      While Debug configuration has a proper list of Conditional compilation symbols ("NET;NET_2_0;NET_4_0"), the Release configuration has them set to "STRONG;NET;NET_1_0;". This causes problems with a lot of appenders and LogicalThreadContext is not working, since it uses SetData(), not LogicalSetData()

        Activity

        Hide
        Stefan Bodewig added a comment -

        Thanks!

        Patch applied in svn revision 1239458

        Show
        Stefan Bodewig added a comment - Thanks! Patch applied in svn revision 1239458
        Hide
        Iso Su added a comment -

        Here's the change I used to fix it for myself

        Show
        Iso Su added a comment - Here's the change I used to fix it for myself

          People

          • Assignee:
            Unassigned
            Reporter:
            Iso Su
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development