I'm using NAnt 0.84. I have the problem that if any source file is missing, the program still conpiles. The source is retrieved from a source repository, and I want it to fail (just like VS does) if a team member has forgotten to add a source file.
I have tried using failonempty="true" in multiple places without success e.g. (simplified) <target name="SoftTech.Saturn.ShowerModel" depends="setup"> <csc target="library" output="${output}" debug="${debug}" define="${define}" doc="${doc}" warninglevel="${warninglevel}" failonempty="true" > <arg value="${unsafe}" /> <arg value="${checked}" /> <sources failonempty="true" > <includes name="SoftTech.Saturn.ShowerModel\Dimensions\module1.cs" failonempty="true" /> <includes name="SoftTech.Saturn.ShowerModel\Dimensions\module2.cs" failonempty="true" /> </sources> <references> <includes name="D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <includes name="${build.dir}\SoftTech.Saturn.BusinessTier.dll" /> </references> </csc> </target> What do I need to do to: A) get build to fail if any source module is missing? B) get slingshot to insert this parameter? The build comes from Slingshot parsing the .sln file. Probably a NantContrib Q, but if anyone here knows .. ;-) TIA Bryan White "Brewmanz" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users