I've been working with nant for a couple of weeks trying to get
automated builds going in our environment.

I've got two applications that generate the following exception at the
end of the build.

Unhandled Exception: System.AppDomainUnloadedException: Attempted to
access an unloaded AppDomain.
   at [EMAIL PROTECTED](Void* , UInt32 , Void* )

I have been able to narrow it down with a test app to a third-party
assembly being present in the app. If it is already in the bin folder
when the build is done the exception does not appear, if it is not there
I get the exception.

The build succeeds and the compiled application runs correctly.

I have run the same .build file with 0.84 and 0.85. With 0.84 it works
fine and I do not get the exception. Below is the output from both runs.

I can zip up and provide my test case to anyone who may want to look at
it.



NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/NewWebApp/NewWebApp.build
Target(s) specified: build 

build:

   [delete] Deleting directory C:\NewWebApp\bin.
 [solution] Starting solution build.
 [solution] Building NewWebApp [Release]...
                 [copy] Copying 2 files to C:\NewWebApp\bin\.
                        Read in 0 resources from
'C:\NewWebApp\Global.asax.resx'
                        Writing resource file...  Done.
                        Read in 3 resources from
'C:\NewWebApp\WebForm1.aspx.resx'
                        Writing resource file...  Done.

BUILD SUCCEEDED

Total time: 0.7 seconds.



NAnt 0.85 (Build 0.85.1783.0; nightly; 11/18/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/NewWebApp/NewWebApp.build
Target(s) specified: build 


build:

   [delete] Deleting directory 'C:\NewWebApp\bin'.
 [solution] Starting solution build.
 [solution] Building 'NewWebApp' [Release] ...

Unhandled Exception: System.AppDomainUnloadedException: Attempted to
access an unloaded AppDomain.
   at [EMAIL PROTECTED](Void* , UInt32 , Void* )

BUILD SUCCEEDED

Total time: 0.7 seconds.

---
Craig Wagner


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to