try setting the MONO_NO_UNLOAD environment variable before running nant:

$ export MONO_NO_UNLOAD=1

this is a workaround for some limitations in mono's AppDomain.Unloadimplementation.

Ian

Golo Haas wrote:

Hi there,

thanks for the fast help with my problem concerning 0.84 and Mono, I have followed the 
advice and - in fact - I have much less problems using 0.85 :-).

My solution compiles, but when I try to run NUnit tasks, they do run, but in the end I 
get an error message:

nunit:

  [nunit2] Tests run: 4, Failures: 0, Not run: 0, Time: 0,448481 seconds
  [nunit2]
  [nunit2]
  [nunit2]

** (/usr/local/nant-0.85/bin/NAnt.exe:4935): WARNING **: : unref on 72 called when ref 
was already 0

** (/usr/local/nant-0.85/bin/NAnt.exe:4934): WARNING **: Finalization of domain NAnt 
NUnit Remote Domain timed out.

BUILD FAILED

INTERNAL ERROR

System.CannotUnloadAppDomainException: Finalization of domain NAnt NUnit Remote Domain 
timed out.
in (unmanaged) (wrapper managed-to-native) System.AppDomain:InternalUnload (int)
in <0x00004> (wrapper managed-to-native) System.AppDomain:InternalUnload (int)
in <0x00049> System.AppDomain:Unload (System.AppDomain)
in <0x00017> NAnt.NUnit2.Tasks.NUnit2TestDomain:Unload ()
in <0x00727> NAnt.NUnit2.Tasks.NUnit2Task:ExecuteTask ()
in <0x00146> NAnt.Core.Task:Execute ()


Please send bug report to [EMAIL PROTECTED]

Total time: 12.7 seconds.

Any ideas, what the reason for this behavior may be?

Thanks in advance,


Golo Haas



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to