Hi,
I am compiling one c# project using nant.
And I am creating one interop assembly using <tlbimp> task from a given
dll.
It's size is the same as it generates through the visual studio 2003
but in the case of NAnt project is not recognizing the some structures
form the given dll
can anybody help me what I am missing in the <tlbimp >
Task
Here is the script that I am using
<target name="Interop-gen">
<tlbimp
typelib="${setup.source}\IrisAccelerator\SDK\DllsAndExes\DMCmd.dll"
namespace="DMCMDLib.dll"
output="${intermediate.dir}\Interop.DMCMDLib.dll"
strictref="true"></tlbimp>
<copy
todir="${setup.source}\IrisAccelerator\SDK\DllsAndExes"
file="${intermediate.dir}\Interop.DMCMDLib.dll"
overwrite="true" />
</target>
<target name="build" depends="Interop-gen">
<mkdir dir="${outdir}" />
<csc target="winexe" output="${outdir}\IrisAccelerator.exe"
unsafe="${unsafe}" checked="${checked}"
define="${define}" warninglevel="${warninglevel}"
debug="${debug}" win32icon="${src.basedir}\DM\App.ico">
<references>
<include name="${framework.net.ref}\System.dll"
/>
<include
name="${framework.net.ref}\System.Data.dll" />
<include
name="${framework.net.ref}\System.Data.dll" />
<include
name="${framework.net.ref}\System.Drawing.dll" />
<include
name="${framework.net.ref}\System.Windows.Forms.dll" />
<include
name="${framework.net.ref}\System.XML.dll" />
<include
name="${intermediate.dir}\Interop.DMCMDLib.dll" />
</references>
With Regards,
Ashish Mittal
#########################################
THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT(S) AND MAY
CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE,
DISCLOSURE OR DISTRIBUTION IS PROHIBITED.BEFORE OPENING ANY ATTACHMENTS PLEASE
CHECK FOR VIRUSES AND DEFECTS.IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE
NOTIFY US IMMEDIATELY BY REPLY E-MAIL AND DELETE THE ORIGINAL MESSAGE.
#########################################
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users