logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (LOG4NET-233) Support .NET 4.0 including Client Profile
Date Fri, 13 Apr 2012 21:39:16 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253762#comment-13253762
] 

Dominik Psenner edited comment on LOG4NET-233 at 4/13/12 9:37 PM:
------------------------------------------------------------------

HttpContext is part of the System.Web namespace, which itself is within the System.Web.dll.
Unfortunately the .NET Framework 4.0 Client Profile does not include the System.Web.dll and
thus it doesn't know about HttpContext. There are some steps you can take, I'm going to write
down two of them:

1) remove all references to System.Web (in which case you will have to remove log4net.Plugin.RemoteLoggingServerPlugin)
to build it
2) add conditionals that exclude all references when built against the Client Profile

In case you do 2) please send us a patch together with the revision we can apply it to.
                
      was (Author: nachbarslumpi):
    HttpContext is part of the System.Web namespace, which itself is within the in System.Web.dll.
Unfortunately the .NET Framework 4.0 Client Profile does not include the System.Web.dll and
thus it doesn't know about HttpContext. There are some possible options, I'm going to write
down two of them:

1) remove all references to System.Web (in which case you will have to remove log4net.Plugin.RemoteLoggingServerPlugin)
to build it
2) add conditionals that exclude all references when built against the Client Profile

In case you do 2) please send us a patch together with the revision we can apply it to.
                  
> Support .NET 4.0 including Client Profile
> -----------------------------------------
>
>                 Key: LOG4NET-233
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-233
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds, Core, Documentation, Examples, Other
>    Affects Versions: 1.2.10
>         Environment: Windows XP, Vista, 7 - .Net 4.0
>            Reporter: Daniel McGloin
>             Fix For: 1.2.11
>
>         Attachments: 233b.patch, NET4.patch, log4net-1.2.10-net-4.0.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Please add a release targeting .NET 4.0 (currently in Beta 2).  In addition, to support
the .NET 4.0 Client Profile, divide any server-side parts into a separate library set that
can be optionally referenced/deployed..

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message