I have written a custom task to perform a scan on a VS project file when the build is executed to ensure the project complies with standards (it checks that option explicit is set in a VB project for example and checks for files in the archive that aren't part of the project.)
The problem I have is that I want to have an interim state in the build script so that if there are errors from my task, it doesn't fail the build but does produce warnings and the end state of the build script should be SUCCEEDED WITH WARNINGS or something. I can throw an exception in my task and fail the build, but I can't see any way of just flagging warnings. The task currently outputs a warning in the build output, but this tends to get lost in the total output as there are about 50 projects that get built and checking each one is laborious. Is what I want to do possible? Has anyone found another way? Cheers, Bill ______________________________________________________________ CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage, which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. Marlborough Stirling plc, Registered in England and Wales Registered No. 3008820, Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH Tel: 01242 547000 Fax: 01242 547100 http://www.marlborough-stirling.com ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users