sorry. I forgot to cc my first response to this Ian
--- Begin Message --- Staale,
You'll need to use the tlbimp task to create an interop assembly and then add that as a reference to the <vbc> to the task. Visual studio does basically the same thing behind the scenes. You will see an stdole.interop.dll or somthing similar in your visual studio build directory. The tlbimp task is in NAntContrib but should probably be added to core NAnt.
for more info on tlbimp and calling com from vb.net see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconimportingtypelibraryasassembly.asp
Ian
Hi all,
How can I include a reference to a COM file, defined as belowe in a *.vbproj file, in my nant script?
<Reference
Name = "stdole"
GUID = "{00020430-0000-0000-C000-000000000046}"
VersionMajor = "2"
VersionMinor = "0"
Lcid = "0"
WrapperTool = "primary"
/>
Any sugestions appreciated.
Best regards
Staale
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
--- End Message ---
