No, The failonerror is set to "true" for the solution task.

The problem is that I can't get Nant to consider a warning as an error when
using the solution task.
Even after I changed all the

TreatWarningsAsErrors = "true".
in the csproj files.

This should be easy to reproduce.
Write a small program that has unreachable code in it.  Set
treatWarningsAsErrors = "true" in the .csproj file and compile using the
solution task.







                                                                                
                                                           
                      Merrill Cornish                                           
                                                           
                      <[EMAIL PROTECTED]         To:      [EMAIL PROTECTED], 
nant-users@lists.sourceforge.net          
                      thlink.net>                  cc:                          
                                                           
                                                   Subject: Re: [Nant-users] 
solution task and warn on error                               
                      01/05/2005 09:13 AM                                       
                                                           
                      Please respond to                                         
                                                           
                      Merrill Cornish                                           
                                                           
                                                                                
                                                           




Christopher,

I believe the default failonerror attribute of the <solution> task is true,
which is what you want.  Could it somehow have been set to false, thereby
letting <solution> ignore the failure?

Merrill




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to