Sachin_212282 wrote:

Hi,

I am trying to build a DLL using NAnt.

When I run a NAnt.exe -buildfile:MailMgr.build

It gives me message build successes but I could find MailMgr.dll
anywhere in my computer, though I mentioned it in output parameter of
vbc tag.

At a guess it should be in :

d:\webroot\mailmgr

what does the output from

NAnt.exe -buildfile:MailMgr.build -v
look like ?

Ian



Can anybody help me out ASAP?




Build File:




<?xml version="1.0"?>

   <project name="MailMgr" default="build"
basedir="d:\webroot\mailmgr">

       <description>Build file for the Mail Manager
project</description>

       <property name="debug" value="true" />

       <target name="clean">

          <delete file="MailMgr.dll" failonerror="false" />

          <delete file="MailMgr.pdb" failonerror="false" />

      </target>

       <target name="build" description="compiles the source code">

         <vbc target="library" output="MailMgr.dll"
rootnamespace="MailMgr">

<sources basedir="d:\webroot\">

               <includes name="MailMg\*.vb" />


               <includes name="MailMg\**\*.vb" />

           </sources>

           <imports>

                       <import namespace="System" />

                       <import namespace="System.Web" />

                       <import namespace="System.Web.SessionState" />

                       <import namespace="System.Configuration" />

                       <import namespace="System.Data.SqlClient" />

                       <import namespace="System.Data.OleDb" />

                       <import namespace="System.IO" />

                       <import namespace="System.Xml" />

                       <import namespace="System.Data.SqlTypes" />

                       <import namespace="System.Web.HttpContext" />

           </imports>

           <resources prefix="$MailMgr" dynamicprefix="true">

                                   <include name="**/*.resx" />

           </resources>

           <references>

                                   <include name="System.dll" />

                                   <include name="System.Data.dll" />

                                   <include name="System.Drawing.dll"
/>

                                   <include name="System.Web.dll" />

                                   <include name="System.XML.dll" />

           </references>

</vbc>

</target>

   </project>




-Sachin






**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to