Well, after getting the GUI .NET debugger to work I worked out what was happening. It was "sort of" working.
The directories do get added to the Fileset, but under the "Fileset.Includes" collection. Changing the part of ClTask.cs that does the includes to reference "Fileset.Includes" instead of "Fileset.FileNames" fixes that issue. However, is it the correct, long term fix? Based on what you've stated, maybe not. I did send a patch for ClTask.cs, but I don't know where it went. I gave up with CorDBG since I don't have time to learn a command line debugger right now (I also don't have access to VC.NET at work). I eventually got DbgCLR to work for me by adding a <sleep> task to my build, then attaching the debugger to the running instance of Nant. Not elegant, but it works. tonyB. > -----Original Message----- > From: Ian MacLean [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 6:25 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [nant-dev] Problem with CL task and Filesets... > > > Tony, > > the includedirs fileset wasn't working. The fileset scanning code was > only supporting files. ie it wasn't even trying to add > directories that > matched the includes spec. Its working now. > > I haven't tried running NAnt against Cordbg. What problems are you > having ? Is NAnt being built with debug info ? > > Ian > > > Does the <includedirs>...</includedirs> fileset work? > > > > > > > > > > Since I am invoking Nant from the command line, it will inherit the > > current environment. In order to ensure that regardless of a users > > local workstation environment, my build works, I use the > > <includedirs>...</includedirs> fileset to specify the project's > > include directories as follows: > > > > > > > > > > > When the CL command line is built, no /I "..." directives > are added to > > the command line. > > > > > > > > > > On a side note, I'd like to try and track this problem > down, but can't > > seem to get Nant to run under the .NET Framework debugger > (DbgCLR.EXE > > or Cordbg.exe). Any hints or suggestion or either question? > > > > > > > > > > tonyB. > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nant-developers mailing list [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers