Title: Message
Since you have a solution file with all the projects why don't you
run the solution task?
Also, what are the versions if NAnt used?
/Nicke
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 5 december 2003 13:07
To: [EMAIL PROTECTED]
Subject: [Nant-users] Files which not included in the project!!

Hi Team

Ok! I think I confused you all. Sorry for that. Let me be clear.

I have a couple of projects in a solution. All projects got some files which has not been included in the project (it's been visible as with a disabled icon!!). When I build my projects into a single solution in vs.net, it works fine.

I build the same projects through NANT. I have given my source directory path, using <csc> task I am building the projects one by one in my script. As I have included all "cs" files, it builds with all and throws up the error which is not at all used in the projects.

Here my doubt is, I can always write <excludes name="somefile.cs"> (Ian, u r right. That is excludes..sorry for that typo error) and exclude the unwanted files, but I don't want to do that. It is like hard coding in the script that these are all the files which you should not consider while building. So what will be the best way to do this?

Am I making sense guyz?

Pradeep

Reply via email to