Hi, Would a GUID make good class name? System.Guid.NewGuid(). Maybe simply removing the "-" and prefixing it to with a letter!
Ex: _rootClassName = "nant" + System.Guid.NewGuid().ToString().Replace("-", ""); Pat -----Original Message----- From: Scott Hernandez [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 01:30 To: Patrice Calvé Cc: [EMAIL PROTECTED] Subject: Re: [Nant-users] System.IO.FileNotFoundException MessageThis is a bug; AFAIK. Good catch. This line needs to be fixed to generate a unique root name for the compiled code. (I haven't done anymore work than looking at the code for a few minutes to guess at this solution.) ScriptTask.cs:138 _rootClassName = /*Target.Name*/ "xx" + "_script_" + (taskNode.GetHashCode() ^ (taskNode.ParentNode.GetHashCode() << 1)).ToString("X"); Now accepting patches... ;) (Please include/update a unit test for this task too if possible :) ----- Original Message ----- From: Patrice Calvé To: [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 1:36 PM Subject: RE: [Nant-users] System.IO.FileNotFoundException Hi again, I found something else. I can't have two scripts in the same build file. If I do, the second one fails. If I reorder them, the same problems happens; the second call dies. Pat ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users