Hi
We are experiencing a strange issue with a VSTO outlook addin that works fine after installation however after a user logs out and logs back in again the addin becomes inactive. When I attempt to activate the plugin I can see an error
Load Behavour: Not loaded. A runtime error occured during the loading of the COM add-in.
The addin is located on the c:\
It can be installed/ uninstalled by a user
I have since enabled debugging on the VSTO and have been given the following output -See Below
The only way to temporarily fix the addin is to uninstall and reinstall.
Can anyone see why this addin is not working?
Many thanks,
Matt
Could not load file or assembly 'Outlook2010donorflexAddIn1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2071c7c802c0dd82' or one of its dependencies. The system cannot find the file specified.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Outlook2010donorflexAddIn1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2071c7c802c0dd82' or one of its dependencies. The system cannot find the file specified.
File name: 'Outlook2010donorflexAddIn1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2071c7c802c0dd82'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].