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.

      1. SystemInfo.cs.patch
        0.5 kB
        Nikolay Ryabkov

        Activity

        Hide
        nryabkov Nikolay Ryabkov added a comment -

        Cool. Thank you!

        Show
        nryabkov Nikolay Ryabkov added a comment - Cool. Thank you!
        Hide
        nachbarslumpi Dominik Psenner added a comment -

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

        Thanks!

        Show
        nachbarslumpi Dominik Psenner added a comment - I commited a sligthly modified version of the patch as revision: 1408260 Thanks!

          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:

              Development