Skip to content

Support CoreCLR / .NET Core #641

Closed
Closed

Description

@meriturva

Any idea when NLog will support CoreCLR?
So thanks.
Meriturva

Activity

  1. 304NotModified commented on Mar 19, 2015

    @304NotModified
    Member

    Do you have an idea what we should change to support coreclr? (Process, code, build)

    Correct me if wrong, I think with visual studio 2015 it would be easier to support coreCLR.

  2. meriturva commented on Mar 23, 2015

    @meriturva
    Author

    I don't have an idea, i have installed VisualStudo 2015 CTP 6 last week....it is completely based on new environments.... coreFx and coreClr.
    I think that there are a lot of changes specially for the System.IO namespace....and coreClr is not finished right now.

  3. 304NotModified commented on Mar 23, 2015

    @304NotModified
    Member

    I'm pretty sure we will support coreCLR. Probably the next release after 4.0.

  4. added this to the 5.0 milestone on Mar 28, 2015
  5. 304NotModified commented on Apr 16, 2015

    @304NotModified
    Member

    Moved to feature request.

  6. ShaneCourtrille commented on Oct 9, 2015

    @ShaneCourtrille

    Has there been any further discussion around this?

  7. 304NotModified commented on Oct 9, 2015

    @304NotModified
    Member

    Well I tried PCL, and it was really a major task to get that working. We never got that working due to the many things that are missing.

    I thought the same problem was for coreCLR. We like to support it, but if we have to rewrite a lot of stuff, it will take a lot of time.

  8. 304NotModified commented on Oct 9, 2015

    @304NotModified
    Member

    Related is this branch (UAP10)

    https://github.com/304NotModified/NLog/tree/UAP10

    But is has still some compile errors. UAP <> coreclr, but is not fully clear what the relation is between them.

    (The term should by UWP10 and not UAP10?).

    Let see what the showstoppers are in this project:

    1. MUST: Attribute.GetCustomAttribute won't work - all layout, layout renderers and targets are using
    2. MUST: some threading stuff isn't working in LoggerImpl.Write, which is the core of NLog.
    3. MUST: we cannot use stacktrace for GetCurrentClassLogger?
    4. Should: We can't use StackFrame and so we cannot use this for `${stacktrace}
    5. Should: Assembly.LoadFrom we cannot load other assemblies (NLog building blocks) in runtime?

    edit: now 57 compile errors. NLog.uap10.sln

    We really need some help on this.

  9. 304NotModified commented on Oct 9, 2015

    @304NotModified
    Member

    46 38 errors.

    19 errors with some runtime exceptions

  10. 304NotModified commented on Oct 9, 2015

    @304NotModified
    Member

    But real stuck now.

  11. ShaneCourtrille commented on Oct 10, 2015

    @ShaneCourtrille

    Well CoreCLR won't have issue 3 or 4 as Stackframes are available. That said I'm only vaguely aware of supporting multiple environments so I'm not sure how adding dnxcore50 without going the PCL is any different then supporting Silverlight without PCL.

    If someone picks up this issue at some point it'd be good to be aware of https://github.com/aspnet/Logging

  12. 304NotModified commented on Oct 10, 2015

    @304NotModified
    Member

    Well CoreCLR won't have issue 3 or 4 as Stackframes are available.

    Any idea what about 5?

    That said I'm only vaguely aware of supporting multiple environments so I'm not sure how adding dnxcore50 without going the PCL is any different then supporting Silverlight without PCL.

    We use multiple solution/project files and compiler conditionals (e.g. #if NET3_5)

    But I don't have any experience with CoreCLR, yet. I also still in beta? How do I create a CoreCLR supported library in Visual Studio (2015)?

    If someone picks up this issue at some point it'd be good to be aware of https://github.com/aspnet/Logging

    I think we should also write an adapter for that. Do we need coreCLR support for it?

  13. 212 remaining items

  14. jonorossi commented on Mar 14, 2016

    @jonorossi

    @304NotModified @yyjdelete nope, also looks like Serilog 2.0.0-beta-509 still hasn't made it into the index yet either. It worked fine just changing the project.json to the version I needed to get the changes I made to Serilog into Castle Core yesterday, which it sounds like you've done.

  15. 304NotModified commented on May 16, 2016

    @304NotModified
    Member

    Looks like .net core rc2 is finally released!

  16. 304NotModified commented on May 20, 2016

    @304NotModified
    Member

    Let continue discussion at #1458

  17. locked and limited conversation to collaborators on May 20, 2016
  18. 304NotModified commented on Jul 25, 2016

    @304NotModified
    Member

    This thread is large, so closing this let continue the discussion at #1559

  19. modified the milestones: 4.4, 5.0 on Aug 5, 2016
  20. modified the milestones: 5.0 - OLD, on Jan 15, 2021
  21. modified the milestones: , 4.5 on Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions