Gert, I found the problem. In the Nant.Dotnet project, PerformSearchForResourceLinkage method. You read the .cs file and look for the first occurance of the keywords "namespace" and "class". "class" was the problem in my case.
matchClassName.Groups["class"]; It seems that one of the developers here put a region tag between the using and namespace declaration/keywords in 2 .cs files. The region tag contained a long list of comments that included the word "class". So naturally the method would read the word next to "class", which happened to be "adds". Therefore, the reason for my problem was it picked up the word after "class". e.g. using System; ... #region mycomments /****************** Notes ********* blah blah blah blah blah blah blah class adds more blah <== here was problem blah blah blah blah ****************************/ #end region namespace my.namespace { public class myclass { blah blah; } } Wonder if there is a better way to identify the namespace and class if something like this happens again. Would this be considered a bug or a user error? Regards, Mike --- Gert Driesen <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- > From: "Michael Dang" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, April 02, 2004 5:41 PM > Subject: Re: [Nant-users] CSC Output Build Internal Error help > > > > Hi Gert, > > > > Haven't forgot about this. I can't pack up the files. Would be > > against company privacy policies. Sorry. > > No problem, can you find some other way to reproduce the issue ? > > > > > However, I have narrowed down the problem to 2 resx files. I > have > > regenerated those resx files but same problem. > > Can't you isolate this ? > > > How does nant > > generate the csc commandline /resource and /linkresource argument > > parameters? I want to determine if the values in those > parameters is > > getting corrupted or confused. grrss.. > > this is too complex to explain right now (I'm too tired, sorry) ... > > Gert > ===== Michael Dang __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users