c# - Word 2007 AddIn does not work with Word 2010 -
I have written the add-in for Word 2007 in C # I to deliver the add-in, I click on the ClickOn Installer Employed. However, this add-in does not work with Word 2010. This generates the following error in the vsto.log file:
System.IO.FileNotFoundException: File or assembly could not be loaded 'Microsoft .Office.Interop.Word, version = 12.0. 0.0, Culture = Neutral, PublicKeyToken = 71e9bce111e9429c 'or one of its dependencies failed to detect the specified file. File Name: Microsoft at Microsoft 's Microsoft. Office. Interop Word, Version = 12.0.0.0, Culture = Neutral, Public Key Token = 71 A9 BCE 1949 'in Microsoft. Visual Studio Technology. Ordis Ford Inward ITOMTOPPAirProxy..Mature (Ihost Itam Provider Extended Contract Host ITEM Provider) VisualStudio.Tools.Office.Word.Internal.IWordHostItemProviderProxy.GetProxy (IHostItemProviderExtendedContract Agreement) on Microsoft. Visual Studio.Tools.Office.Word.Internal.LocalWordServiceProvider.GetService Microsoft service type (type service type). Visual Studio.International.LocalServiceProvider Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase.Microsoft.VisualStudio.Tools.Applications.Runtime.IEntryPoint.Institialize (IServiceProvider Host Contexes) on Microsoft.VisualStudio.Tools.Applications.AddInAdapter.ExecutePhase on System.IServiceProvider.GetService (type service type ) Execution Fee Performance Fees in Microsoft). Visual Studio > Until I think there is no mismatch between Microsoft and Microsoft. Office. Interop Add-in for Add-in looks with Word 2010 and is available on the system, I do not know how I can fix this problem. I did some Google searches but nothing interesting happened help please.
I finally found out the problem, sorry to post about it soon That I was joining the wrong libraries instead of PIA, which caused the problem. The problem was fixed after making the change.
Comments
Post a Comment