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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 08/12/2009 by: VBScab
Red Belt

Please log in to comment
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
Answered 08/12/2009 by: sharanshirol
Senior Yellow Belt

Please log in to comment