Hi, Gurus,

I am trying to build a .net assembly using C#. Within this assembly, some other .net assemblies provided by Microsoft as well as some third party .net assemblies and COMs are used. It works fine when I build it and use it in Excel.

However, when I attempt to build a setup project to install this Addin and use it in Excel, it fails with the error message:

Visual Basic Editor
Error in Loading DLL

I guess it is because it could not find those third-party assemblies and COMs although they are already registered in my computer. In our own code, I don't register them with the option vsdrfDonotRegister.

Does anyone have an idea what is going on?

Any suggestion will be appreciated. Thanks in advance.