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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development