Could you please supply some more details. ie the build output and a copy of your script that is failing. You day it builds fine in the ide - I assume you mean vs.net. In that case are you using the solution task to build or a custom <csc> task ?
where are you specifying the exclude ? if it is in a fileset context then the correct syntax is:
<excludes name="somefile.cs" />
note the s after exclude.
Hope this is some help
Ian
[EMAIL PROTECTED] wrote:
Hi Team
I am new to NANT. I have some files which is not included in a project, It builds fine in IDE. The same project I am building through NANT (Pointing to the Source Directory), it takes all files which is not included in the project and throws up the error. I just excluded the files in my NANT script (Hard coded - <exclude name="somefile.cs" />).
Is there any way to make NANT to consider only the included files in the project?
Pradeep
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
