<checknantconfig fromconfig=""${nant.location}nant.exe.config" toconfig="${nant.location}nant.tests.config" />
then the nunit task would be defined like:
<nunit2>
<formatter type="Plain" />
<test assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll" appconfig="${nant.location}nant.tests.config" />
</nunit2>
the checknantconfig task ( we can work on the name ) wouldn't ship with nant it would just be a utility task that we load with nanttasks.
this way we don't have to hack the nunittask.
What do you think ?
Ian
I've written a quick hack to generate a new config file in the temp folder with the default framework set to what was passed in -k, and then passes that config to the tests. This works but its not the 'right' solution because its in the NUnitTask.cs and will try and run for every test task - not just the tests for nant.
I don't think we'd want that ...
This will do in a pinch as it will solve the problem without too much overhead, but I'm haveing a look at alternatives.
I'll think about it too, ...
Gert
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
