Hello,

recently I noticed one interesting problem with <ndoc> task. In my build script this task sometimes fails with the next message:

======================================================

[ndoc] Writing project settings to 'C:\DOCUME~1\ADMINI~1.ROC\LOCALS~1\Temp\tmp11CB.tmp'.
[ndoc] NDoc project file: file://C:\DOCUME~1\ADMINI~1.ROC\LOCALS~1\Temp\tmp11CB.tmp
[ndoc] Initializing...
[ndoc] Merging XML documentation...


BUILD FAILED - 3 non-fatal error(s), 7 warning(s)

D:\BuildScripts\Composite.build(529,10):
Error building documentation.
Unable to load assembly 'D:\Build\SomeProduct\bin\Release\SomeProduct.dll'
Unable to load assembly 'D:\Build\SomeProduct\bin\Release\SomeProduct.dll'
Exception from HRESULT: 0x8013141A.


======================================================

The ratio of successful builds to failed builds is about 1:1. Each time I do a clean build. I mean that my script removes the folder, creates it again, gets the source code from VSS to this folder, compiles everything, etc. When the script fails I run it again and the next time it can work fine. But can fail as well. I never know whether it will pass or fail the next run.

The <ndoc> task generates the project file. When this task fails I open this project file with NDocGui - it can load all assemblies and build documentation without any problem. I also tried to run NDocConsole on the project created by <ndoc>. NDocConsole also works without any problems.

So at this time I made the next workaround. My script generates the project file for NDoc. Then the script uses <exec> to run NDocConsole. This approach seems to work always.

I'm using NAnt 0.85 built on 01-Nov-2004. It is two weeks old.

Has anyone seen something similar or can tell me what could be the problem?

Regards, Roman.




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