logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Westfalewicz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-388) NotSupportedException is thrown in SystemInfo.AssemblyLocationInfo for dynamic assemblies
Date Tue, 13 Aug 2013 00:35:48 GMT
Piotr Westfalewicz created LOG4NET-388:
------------------------------------------

             Summary: NotSupportedException is thrown in SystemInfo.AssemblyLocationInfo for
dynamic assemblies
                 Key: LOG4NET-388
                 URL: https://issues.apache.org/jira/browse/LOG4NET-388
             Project: Log4net
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.11
            Reporter: Piotr Westfalewicz
            Priority: Minor


For dynamic assemblies "Location" property shouldn't be used (http://msdn.microsoft.com/en-us/library/system.reflection.assembly.location.aspx).
Therefore in log4net.Util.SystemInfo we can test if that assembly is dynamic and avoid exception.

Exception is very annoying and popular with NHibernate 3.3.3.4001.

I have added both fix and test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message