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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to