I was looking to use TlbImp.exe to create some dlls for a Excel Library 11.0. Looking at the docs I should expect to find it in the SDK bin, something like:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK\v3.5\Bin
But when I go there it is empty. If i do a search in Windows Explorer i get the following:
So my question is whether or not, TlbImp.exe is still the way to go or has it been further integrated into Visual 2012?
If it is still the way to go, which version of tool should I be using? Does it matter with regard to which framework the resulting .dll will be expected to run on?
Navigate to C:\Program Files\Microsoft SDKs\Windows\vx. x\Bin in which the earlier . NET Framework version of TlbImp.exe is installed.
The output of Tlbimp.exe is a binary file (an assembly) that contains runtime metadata for the types defined within the original type library. You can examine this file with tools such as Ildasm.exe. This tool is automatically installed with Visual Studio.
There are two ways to generate a primary interop assembly: Using the Type Library Importer (Tlbimp.exe) provided by the Windows SDK. The most straightforward way to produce primary interop assemblies is to use the Tlbimp.exe (Type Library Importer).
Looking at the docs I should expect to find it in the SDK bin, something like:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK\v3.5\Bin
That's why I tried to look on it in every foder, guess what? I've found it!
It is here!
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
The real problem is that, I need to install .NET 2.0 and .NET 3.0 in order to use
and search
it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With