I don't remember if MS Build can suppress them from the command line or not,
but there is a section in the Build section of the Project properties page
where you can suppress specific warnings by number.

On Fri, May 27, 2011 at 8:09 AM, Jed Padilla <jpadi...@flclerks.com> wrote:

> I got NAnt working this morning.  The problem was in the following line
>
> <property name="Platform" value="Any CPU" overwrite="true"/>
>
> I didn’t have a space between ‘Any CPU’ so it was failing.
>
>
>
> I know the next question is specific to MSBuild but I will ask here since
> it seems a lot of people use it.  What do I need to add to get msbuild to
> suppress warnings?  I know the correct answer to the question is ‘Fix the
> warnings’ however that isn’t possible for some of these solutions.  I know
> when I run msbuild from the command line I can use /noconsolelogger, but I
> am not sure how to add the NAnt tag for that.  Or if there is a better way
> to just suppress warnings, but still show errors and positive messages?
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to