GitHub user chlowell opened a pull request:

    https://github.com/apache/log4net/pull/16

    [WIP] Initial .NET Core support

    This creates a new solution with a Portable Class Library project to build 
log4net for .NET Core platforms. The project requires Visual Studio 2015 and 
Universal Windows App Development Tools 1.1.
    
    In keeping with the existing codebase, the new project defines compilation 
constant `NETCORE`, which I use to make (mostly small) API substitutions and 
exclude unsupported code. The three most important exclusions in my mind are
     * Configuration via XML (the existing classes would require large changes)
     * Stack frame logging (`System.Diagnostics.StackTrace` isn't fully 
implemented for Core)
     * Per-assembly logging (neither `Assembly.GetCallingAssembly` nor an 
effective workaround is available)
    
    I'd appreciate all feedback on the direction I've taken, and any insight 
into what's most important to the library's consumers is very helpful to me. 
Thanks!

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chlowell/log4net log4net-core-pcl

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/log4net/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit d34156aa6daf17c929e7b0afb6846ae92f5bf3b6
Author: Charles Lowell <chl...@microsoft.com>
Date:   2015-10-23T23:46:30Z

    Add GitHub .gitignore for Visual Studio

commit 6027686afab2a618ef3b0c8558ba5b6e2f40ea39
Author: Charles Lowell <chl...@microsoft.com>
Date:   2015-10-23T23:06:20Z

    Initial Core support for log4net
    
     * Add log4net.core.sln and log4net.pcl.csproj, a PCL targeting .NET 4.6 & 
ASP.NET Core 5
       * PCL requires Visual Studio 2015 with Universal Windows App Development 
Tools 1.1
       * PCL defines NETCORE when building
     * Add NETCORE directives to code

commit 2d9dcd5408bfcc1adda68142532b4d729be49c22
Author: Charles Lowell <chl...@microsoft.com>
Date:   2015-10-27T17:08:05Z

    Add test project to log4net.core.sln
    
     * Excludes tests not expected ever to pass for NETCORE
     * Failing tests which may pass as APIs come to Core are commented

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to