Error while generating .Tlb files

Developed an add-in for BricsCAD application. While trying to geneate the Tlb files getting the below error.
RegAsm : error RA0000 : Could not load file or assembly 'BrxMgd.dll' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A). Can anyone help with this?

Comments