You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2013/08/14 09:36:48 UTC

[jira] [Resolved] (LOG4NET-388) [PATCH] NotSupportedException is thrown in SystemInfo.AssemblyLocationInfo for dynamic assemblies

     [ https://issues.apache.org/jira/browse/LOG4NET-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Psenner resolved LOG4NET-388.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.12
         Assignee: Dominik Psenner

Fixed as of revision: 1513751

The tests could still be improved to support other frameworks than .NET 4.0.
                
> [PATCH] 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
>            Assignee: Dominik Psenner
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 1.2.12
>
>         Attachments: NotSupportedExceptionInSystemInfo2.patch, NotSupportedExceptionInSystemInfo.patch
>
>
> 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 assembly is dynamic and in result 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