Hi Yoram

I would recommend you try "asis" attribute of <includes> element. So your
includes will look like

<references ......>
        <includes asis="true" name="somepath/some.dll"/>
</references>

asis=true disables checking for the existence of the dll, asis=false enables
checking for the existence of dll.

Also make sure you are using DOS 8.x naming convention for your dll file
names and path. This turned out to be a problem for me, coupled with other
problems related to long path names, where folder names have spaces in
between them.

good luck

-daya

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yoram
Halberstam
Sent: Wednesday, August 27, 2003 10:21 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] CS0246


Hi,

I have an ant task that compiles 2 dll, the second needs the first.

Here is the requires section I put in the "<csc ..>" task

<references basedir="${DIR_NUNIT}">
        <includes name="nunit.framework.dll"/>
</references>
<references basedir="${DIR_BUILD_BASE}">
        <includes name="DLL1.dll"/>
        <includes name="DLL2.dll"/>
</references>

Now the NUNIT dll works as it is is needed by the first one and both the
remaining dlls are in DIR_BUILD_BASE. DLL1 is the one that is missing
according to csc.

Any ideas?

Thanks

Yoram



-------------------------------------------------------
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



-------------------------------------------------------
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