[ 
https://issues.apache.org/jira/browse/LOG4NET-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474325
 ] 

Nicko Cadell commented on LOG4NET-114:
--------------------------------------

The main issue with running the unit tests from NAnt is that the <nunit> task 
does not (last time I checked) support multiple frameworks. That means that the 
NUnit tests are run within the same .NET runtime as the NAnt process, therefore 
you are limited to 1 framework, which in practice is the default framework 
(highest version installed).

NAnt supports multiple frameworks for compilation by executing a child process, 
on the required framework, to do the compilation. In fact any NAnt task based 
on ExternalProgramBase can make use of this.

To support running NAnt on multiple frameworks we would need to build a new 
task that shells the NUnit process under the required framework. This would 
allow us to run the unit tests against all the build target frameworks.

> 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.

Reply via email to