Return-Path: X-Original-To: apmail-logging-log4net-dev-archive@www.apache.org Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D05B410163 for ; Wed, 14 Aug 2013 07:11:02 +0000 (UTC) Received: (qmail 16845 invoked by uid 500); 14 Aug 2013 07:10:57 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 16585 invoked by uid 500); 14 Aug 2013 07:10:50 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 16437 invoked by uid 99); 14 Aug 2013 07:10:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 07:10:48 +0000 Date: Wed, 14 Aug 2013 07:10:47 +0000 (UTC) From: "Piotr Westfalewicz (JIRA)" To: log4net-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4NET-388) [PATCH] NotSupportedException is thrown in SystemInfo.AssemblyLocationInfo for dynamic assemblies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4NET-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739328#comment-13739328 ] Piotr Westfalewicz commented on LOG4NET-388: -------------------------------------------- I've only checked the source of mono, haven't actually tried to run it. However, I don't mind if you would like keep it simple. > [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 > Priority: Minor > Labels: easyfix, patch > 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