I think what's happening is that Nant's solution task isn't passing the
value of TreatWarningsAsError to csc.

Therefore, csc is using the default which is false.

I think it's the same bug as
http://sourceforge.net/tracker/index.php?func=detail&aid=1080237&group_id=31650&atid=402868

but I'm compiling c# and not C++ code.




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




Christopher,

>>> TreatWarningsAsErrors = "true". in the csproj files.

OK, what does TreatWarningsAsErrors = "true" actually _do_?  At what level
does it work?  Does it possibly simply say the solution build stops on
warnings, which it wouldn't normally do.

If the program that uses the TreatWarningsAsError attribute is still
returning 0 at the end, then no one else, such as NAnt is going to know
anything unusual happened.

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