You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2011/08/10 11:13:27 UTC

[jira] [Created] (LOG4NET-300) FilterTest doesn't compile for .Net 2.0

FilterTest doesn't compile for .Net 2.0
---------------------------------------

                 Key: LOG4NET-300
                 URL: https://issues.apache.org/jira/browse/LOG4NET-300
             Project: Log4net
          Issue Type: Bug
          Components: Other
    Affects Versions: 1.2.11
         Environment: .NET Framework 2.0 NAnt build on Windows
            Reporter: Stefan Bodewig
             Fix For: 1.2.11


Class MultiplePropertyFilter.Condition uses automatic properties which don't compile in a purce 2.0 environment like the one used when running the NAnt build.

Fix is trivial and will be attached in a few seconds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (LOG4NET-300) FilterTest doesn't compile for .Net 2.0

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated LOG4NET-300:
-----------------------------------

    Attachment: filter_test_2.0.patch

Patch that makes FilterTest.cs compile on .NET 2.0

> FilterTest doesn't compile for .Net 2.0
> ---------------------------------------
>
>                 Key: LOG4NET-300
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-300
>             Project: Log4net
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.2.11
>         Environment: .NET Framework 2.0 NAnt build on Windows
>            Reporter: Stefan Bodewig
>             Fix For: 1.2.11
>
>         Attachments: filter_test_2.0.patch
>
>
> Class MultiplePropertyFilter.Condition uses automatic properties which don't compile in a purce 2.0 environment like the one used when running the NAnt build.
> Fix is trivial and will be attached in a few seconds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LOG4NET-300) FilterTest doesn't compile for .Net 2.0

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082241#comment-13082241 ] 

Stefan Bodewig commented on LOG4NET-300:
----------------------------------------

Just saw the same class file also contains lambdas, I wonder whether it was intended to be 3.5 only.

Will rewrite them as anonymous delegates.


> FilterTest doesn't compile for .Net 2.0
> ---------------------------------------
>
>                 Key: LOG4NET-300
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-300
>             Project: Log4net
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.2.11
>         Environment: .NET Framework 2.0 NAnt build on Windows
>            Reporter: Stefan Bodewig
>             Fix For: 1.2.11
>
>
> Class MultiplePropertyFilter.Condition uses automatic properties which don't compile in a purce 2.0 environment like the one used when running the NAnt build.
> Fix is trivial and will be attached in a few seconds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (LOG4NET-300) FilterTest doesn't compile for .Net 2.0

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved LOG4NET-300.
------------------------------------

    Resolution: Fixed

fixed with svn revision 1158537

> FilterTest doesn't compile for .Net 2.0
> ---------------------------------------
>
>                 Key: LOG4NET-300
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-300
>             Project: Log4net
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.2.11
>         Environment: .NET Framework 2.0 NAnt build on Windows
>            Reporter: Stefan Bodewig
>             Fix For: 1.2.11
>
>         Attachments: filter_test_2.0.patch
>
>
> Class MultiplePropertyFilter.Condition uses automatic properties which don't compile in a purce 2.0 environment like the one used when running the NAnt build.
> Fix is trivial and will be attached in a few seconds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira