FileNotFound exception when creating OutlookApplicationClass

M

mike

I am using the Outlook interop DLL from the GAC on my developmen
machine by including a reference via the Add Reference > Com tab o
Visual Studio (C# project).

My project builds, but at runtime I get a "Specified Module could no
be found" error.

Any ideas
 
T

Thaddaeus Parker

Check the reference properties state that the reference dll is copied to the
local directory. If you didn't use the wizard to create the Addin
installer, but created the installer from scratch you need to make sure that
the dependencies for your addin include the interop dll; otherwise will
receive the missing module error.

Thaddaeus
 
Top