2010-02-23 6 views

Répondre

0

Utilisez à la place l'élément de nowarn. Par exemple:

<csc output="${build.dir.legacy}Library.dll" 
target="library" 
verbose="${debug}"> 

    <sources basedir="${source.legacy.patterns.dir}"> 
    <include name="**.cs"/> 
    </sources> 

    <nowarn> 
    <warning number="0162,0169,0168,0219,0414,0649,0114,0105"></warning> 
    </nowarn> 

</csc> 
Questions connexes