How to register a legacy typelib (.tlb) on Windows 7?

回眸只為那壹抹淺笑 提交于 2019-11-28 04:30:31

Well, I guess I can answer my own question (and for anyone else who has the same problem):

Apparently, regtlibv12.exe is part of Visual Studio 2010 (contrary to what I read on various Microsoft forums), but it is located in the Windows\Microsoft.NET\Framework\v4.0.30139 folder (not the v2.0.50727 folder). Using that executable I was able to successfully register the legacy typelib (.tlb).

T800

It comes with .Net framework installation. On my machine I found it as:

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regtlibv12.exe
Francois du Plessis

There is also C:\WINDOWS\REGTLIB.EXE that seems to be part of a standard Windows 7 installation.

From a Developer Command Prompt for VS2013, you can use the regtlib.exe command.

To find the Developer Command Prompt for VS2013 you can try looking under Start -> All Programs -> Visual Studio 2013 -> Developer Command prompt for VS2013.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!