K
Kumaran
I'm building a Shared Addin for Outlook using C#.
I'm using latebinding to determine the version
of outlook installed on a machine, and load the addin
instance for that particular version of outlook. I was
using Assembly.Load() and Activator.CreateInstance().
Everything was working just fine, till, yesterday when I
was testing, installed the addin while having outlook
open.
After this incident, Assembly.Load() does not
seem to be able to load the addin. I get a "File not
found error", even though the required dll is avaible at
the specified path.
I tried giving specific path using
Assembly.LoadFrom(), it worked. However, I got on an
exception later on, when i tried to use Outlook namespace
to operate on some of the ojects.
I was getting an exception "Interop.Outlook".
not found. Again, the interop.outlook.dll was there in
the required application folder.
Has anyone encountered this error? Any suggestions?
I'm using latebinding to determine the version
of outlook installed on a machine, and load the addin
instance for that particular version of outlook. I was
using Assembly.Load() and Activator.CreateInstance().
Everything was working just fine, till, yesterday when I
was testing, installed the addin while having outlook
open.
After this incident, Assembly.Load() does not
seem to be able to load the addin. I get a "File not
found error", even though the required dll is avaible at
the specified path.
I tried giving specific path using
Assembly.LoadFrom(), it worked. However, I got on an
exception later on, when i tried to use Outlook namespace
to operate on some of the ojects.
I was getting an exception "Interop.Outlook".
not found. Again, the interop.outlook.dll was there in
the required application folder.
Has anyone encountered this error? Any suggestions?