Bugs item #929919, was opened at 2004-04-05 13:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929919&group_id=31650
Category: Tasks Group: 0.8.4.0 Status: Open Resolution: None Priority: 5 Submitted By: Michael Dang (mndang) Assigned to: Nobody/Anonymous (nobody) Summary: Resources Improperly gets identified in CSC task Initial Comment: In the Nant.Dotnet project, PerformSearchForResourceLinkage method. Nant reads 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 the problem of resource files being generated with the same identity resulting in a failed fuild 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; } } How can we make sure that the namespace and class keywords pick up the correct information to genereate the resource files correctly? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929919&group_id=31650 ------------------------------------------------------- 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-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers