Without seeing the output from your build this is hard to comment on.

 

To test this feature, I wrote the follow:

      <target name="default">

            <tstamp />

           

            <csc target="library" failonerror='false' output="module1.dll" >

                  <sources>

                        <includes name="IDon'tExist\**.cs"/>

                  </sources>

            </csc>

            <tstamp />

      </target>

 

Here is the output.

 

Buildfile: file:///c:/temp/failerror.xml

default:

   [tstamp] Wednesday, October 23, 2002 3:47:39 PM

      [csc] Compiling 0 files to c:\temp\module1.dll

fatal error CS2008: No inputs specified

 

   [tstamp] Wednesday, October 23, 2002 3:47:53 PM

 

BUILD SUCCEEDED

 

Total time: 14 seconds

Reply via email to