I am trieng to register tlb file with dll, but i am getting below error, please suggest:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>regasm SecureExcelDCF.dll /tlb ecu

RegAsm error: File or assembly name Extensibility, or one of its dependencies, w
as not found.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
Hmmm...I wonder if it's telling you that a dependency is missing...?

As usual [yawn], your favoured file/registry/process monitr will tell you what's missing.
Posted by: sharanshirol 13 years ago
Senior Yellow Belt
As we have a dependent dll for the SecureExcelDCF.dll & SecureExcelDCF.tlb files.so the dll and tlb need to place in the folder where the Extensibility.dll is present.So this will be a successful registration of the DLL.

gives the successfull result when you execute the regasm.

C:\>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe "C:\Program Files\Mi
crosoft Office\Addin\Excel CLI Addin\SecureExcelDCF.dll" /tlb "C:\Program Files\
Microsoft Office\Addin\Excel CLI Addin\SecureExcelDCF.tlb"
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Types registered successfully
TlbExp warning: Referenced type is defined in managed component, which is import
ed from a type library that could not be loaded because it was not registered (t
ype: Extensibility.IDTExtensibility2; component: c:\program files\microsoft offi
ce\addin\excel cli addin\extensibility.dll).
Assembly exported to 'C:\Program Files\Microsoft Office\Addin\Excel CLI Addin\Se
cureExcelDCF.tlb', and the type library was registered successfully
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ