[
https://issues.apache.org/jira/browse/LOG4NET-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474285
]
Curt Arnold commented on LOG4NET-114:
-------------------------------------
Rev 509338 will allow the unit tests to run (but fail) on Mono 2.0. Hopefully,
doesn't make things worse on the .NET's but has not been tested yet.
The contents of the compile-net-x.x targets appeared to be identical (but could
not confirm it).
The compile-mono-2.0 was copied from the compile-net-2.0 but the nostdlib
attribute was removed and the warnaserror attribute was changed to false. If
nostdlib was present and set to true, then undefined reference messages were
generated for framework types like System.Object. If warnaserror attribute was
true, then compilation failed with these warnings:
[csc]
/Users/curta/ls-svn/log4net/tests/src/Layout/XmlLayoutTest.cs(65,19): error
CS0612: `System.Xml.XmlConvert.ToString(System.DateTime)' is obsolete
[csc]
/Users/curta/ls-svn/log4net/tests/src/Layout/XmlLayoutTest.cs(76,19): error
CS0612: `System.Xml.XmlConvert.ToString(System.DateTime)' is obsolete
With the changes, the unit tests would run but 32 fail and 5 are not run. Many
of the changes appear to be due to platform specific line ending characters.
> Unit tests only support .NET 1.0
> --------------------------------
>
> Key: LOG4NET-114
> URL: https://issues.apache.org/jira/browse/LOG4NET-114
> Project: Log4net
> Issue Type: Bug
> Components: Other
> Reporter: Curt Arnold
>
> tests/nant.build only supports running the unit tests on .NET 1.0, but
> supports compilation on .NET 1.1 and .NET 2.0. Mono is not supported for
> either test compilation or running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.