Uploaded image for project: '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
    • Status: Resolved
    • Priority: 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.

        Attachments

        1. SystemInfo.cs.patch
          0.5 kB
          Nikolay Ryabkov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: