Hi,

I wanted to suggest a change to the tlbimp task:

I wanted to use the tlbimp task pretty much as I would use the tlbimp.exe
utility at the command line.  However, one difference I noticed between the
Nant task and tlbimp.exe is that the output file is a required attribute in
the task, whereas the exe can do without it.

With tlbimp.exe, if you don't specify the output file it will generate one
for you based on the type library's internal name and it will also use this
name as the namespace.

E.g.

Supposing I have:

        MyLib.tlb (internal name: MyTypeLibrary)

        Tlbimp.exe MyLib.exe

Produces:

        MyTypeLibrary.dll       
        Namespace: MyTypeLibrary


If you *do* specify the output filename then the utility seems to generate
the namespace based on the output filename:


E.g.

        MyLib.tlb (internal name: MyTypeLibrary)

        Tlbimp.exe MyLib.exe /out:MyCompany.NewAssemblyName.dll

Produces:

        Company.NewAssemblyName.dll
        Namespace: MyCompany.NewAssemblyName


Despite all the available options,I guess I just wanted to use tlbimp in its
simplest form.  I.e.:

        <tlbimp typelib="mytypelib.tlb" />


Any chance this could be considered for an upcoming nightly build?

Cheers,
Eddie


RECIPIENTS ARE REMINDED THAT THIS E-MAIL MESSAGE 
IS STRICTLY CONFIDENTIAL AND INTENDED ONLY FOR USE 
BY THE ADDRESSEE UNLESS OTHERWISE INDICATED. 

Investment Data Technologies Pty Ltd advise that they: 
- accept no liability for any abusive, defamatory, obscene, illegal, or 
offensive material contained in this e-mail message 
- do not monitor the content of any e-mail messages sent from 
Investment Data Technologies 
- do not authorise or condone the sending of abusive, defamatory, 
obscene, illegal, or offensive material by their employees and contractors 
- cannot guarantee that this e-mail message is secure and will not be 
intercepted by a third party. 




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to