I am working with nant-0.85-rc3 and consistently running to a
AppDomainUnloadedException being thrown.  Unfortunately, my project is
large and I have yet to try and reproduce it with a smaller project. 
However, I do know that the exception is being thrown in
Util\GacCache.cs here:

        public void RecreateDomain() {
            // don't recreate this domain unless it has actually
loaded an assembly
            if (!_hasLoadedAssembly && _domain != null)
                return;

            if (_domain != null)
                AppDomain.Unload(_domain);      // *** Exception
Thrown Here *** //

            _resolver = null;
            _domain = AppDomain.CreateDomain("GacCacheDomain", 
                AppDomain.CurrentDomain.Evidence,
AppDomain.CurrentDomain.SetupInformation);
            _hasLoadedAssembly = false;
        }


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to