Log4net
  1. Log4net
  2. LOG4NET-362

[PATCH] SystemInfo.AssemblyLocationInfo throws unhandled ArgumentException "Absolute path required" when exe is started via UNC path

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.10, 1.2.11
    • Fix Version/s: 1.2.12
    • Component/s: Core
    • Labels:

      Description

      Hi!

      myAssembly.Location throws ArgumentException "Absolute path required" when application is invoked via UNC path ("\\localhost\Debug\app.exe" to be precise). Looks like it is safe to ignore and just another exception handler is needed. Patch is attached.

      1. SystemInfo.cs.patch
        0.5 kB
        Nikolay Ryabkov

        Activity

        Nikolay Ryabkov created issue -
        Nikolay Ryabkov made changes -
        Field Original Value New Value
        Attachment SystemInfo.cs.patch [ 12553097 ]
        Dominik Psenner made changes -
        Assignee Dominik Psenner [ nachbarslumpi ]
        Dominik Psenner made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Dominik Psenner added a comment -

        I commited a sligthly modified version of the patch as revision: 1408260

        Thanks!

        Show
        Dominik Psenner added a comment - I commited a sligthly modified version of the patch as revision: 1408260 Thanks!
        Dominik Psenner made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.2.12 [ 12318546 ]
        Resolution Fixed [ 1 ]
        Hide
        Nikolay Ryabkov added a comment -

        Cool. Thank you!

        Show
        Nikolay Ryabkov added a comment - Cool. Thank you!

          People

          • Assignee:
            Dominik Psenner
            Reporter:
            Nikolay Ryabkov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development