[
https://issues.apache.org/jira/browse/LOG4NET-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Hoisl updated LOG4NET-113:
------------------------------------
Attachment: patch-file
unified diff patch file
base SVN version: 507535
> [PATCH] SystemInfo.GetTypeFromString() raises NotSupportedException
> -------------------------------------------------------------------
>
> Key: LOG4NET-113
> URL: https://issues.apache.org/jira/browse/LOG4NET-113
> Project: Log4net
> Issue Type: Bug
> Components: Other
> Affects Versions: 1.2.11
> Environment: .NET CF 2.0 SP1 on Windows CE 4.2, tested on Psion
> Teklogix Workabout Pro (ARM processor)
> Reporter: Alexander Hoisl
> Fix For: 1.2.11
>
> Attachments: patch-file
>
>
> BUG:
> Calling the GetTypeFromString(string, bool, bool) method in .NET CF 2.0 SP1
> on Windows CE 4.2 raises a NotSupportedException if the supplied typeName
> parameter contains a comma (",") and both boolean values are "true", i.e.
> when specifying a type and the including assembly in the log4net XML
> configuration.
> The exception stems from the overloaded Type.GetType method that takes three
> parameters. When using the two parameter Type.GetType method, everything
> works fine.
> Steps to reproduce:
> On the described environment configure e.g. an Appender and supply the
> assembly name in the "type" attribute.
> PATCH:
> The patch simply uses the two parameter GetType overload for all NETCF
> frameworks instead of only for NETCF_1_0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.