Ian
Thanks for the infomation, it came in very handy.
First I build the .dll project. Secondly I build the winexe project which uses the first project .dll as a reference. The Second project (appears) to build ok, however when I run the created exe I get the above mentioned error.
I get the following error:
"File or assembly name myTestDLL, or one of its
dependencies, was not found."
Is there something wrong with how I'm referencing the
.dll?
<target name="dependency1_DLL" depends="GetVSSFiles"> <echo message="Building myTestDLL.dll" /> <csc output="${RootWorkDir}${LocalBuildFolder}${VSSFolder}${myTestDLL}${dll_basename}.dll" target="library"> <sources basedir="${RootWorkDir}${LocalBuildFolder}${VSSFolder}${myTestDLL}"> <includes name="*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.XML.dll" /> </references> </csc> </target> <target name="buildMainApp" depends="dependency1_DLL"> <echo message="Building MainTestApp" /> <csc output="${RootWorkDir}${LocalBuildFolder}${VSSFolder}${MainTestAppFolder}${app_basename}.exe" target="winexe"> <sources basedir="${RootWorkDir}${LocalBuildFolder}${VSSFolder}${MainTestAppFolder}"> <includes name="*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.Drawing.dll" /> <includes name="System.Drawing.dll" /> <includes name="System.XML.dll" /> <includes name="${RootWorkDir}${LocalBuildFolder}${VSSFolder}${myTestDLL}myTestDLL.dll" /> </references> </csc> </target>
Thanks again.
--- Arild Fines <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:http://nant.sourceforge.net/wiki/index.php/GettingAndBuilding
Subject: Re: [Nant-users] General NAnt Quesions..takes
I followed the link to
http://nantcontrib.sourceforge.net/ however, it
me to another link and there isn't any informationor
a file to download. Can you provide some insightinto this
NAntContrib program?
See the "Getting and Building" page on the NAnt wiki:
--------------------------------------------------------- Arild
https://lists.sourceforge.net/lists/listinfo/nant-usersThis SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users