I'm building a Shared Addin for Outlook using C#.
I'm using latebinding to determine the version ofoutlook installed on a machine, and load the addin instance forthat particular version of outlook. I was using Assembly.Load()and Activator.CreateInstance(). Everything was working justfine, till, yesterday when I was testing, installed the addinwhile having outlook open.
After this incident, Assembly.Load() does not seem tobe able to load the addin. I get a "File not found error", eventhough the required dll is avaible at the specified path.
I tried giving specific path usingAssembly.LoadFrom(), it worked. However, I got on an exceptionlater on, when i tried to use Outlook namespace to operate onsome of the ojects.
I was getting an exception "Interop.Outlook". notfound. Again, the interop.outlook.dll was there in the requiredapplication folder.
Has anyone encountered this error? Any suggestions?
Regards
Kumaran
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>pnuEi3N5zUKj5rwndrPgmg==</Id>