Using the example provided in codeproject I am struggling to work out where I can find the reference to the library Microsoft.Office.Core.
You need to have to install as well as set up the PIA (major interop assemblies) for the version of Office you are using. As soon as installed you may at that point include a reference to your task and also they will be offered coming from the add recommendation discussion.
I simply possess office 2007 enterprise edition and also outlook 2003 set up on this unit. Could this be the root cause of this? Typically which certain dll am I intended to be actually referencing?
You may add recommendation of Microsoft.Office.Core coming from COM elements tab in the add reference home window by adding endorsement of Microsoft Office 12.0 Item Public Library. The monitor shot will definitely reveals what element you require.
I am actually obtaining the error “The referenced part ‘Microsoft.Office.Core’ could possibly not be actually located.”
Right now there is actually a nuget package for that.
I failed to discover office in COM, so tried this nuget and also it functioned!
In the event you are utilizing Visual Workshop 2012, for this to work as well as to refer to Microsoft Office Core, you have to bring in the recommendation by means of Visual Studio through hitting on the leading food selection’s Project, Incorporate Endorsement, Extensions switch as well as examining office which is actually right now (14.0 ).
If your device carries out not have Microsoft Office Outlook 2003 you may possess to alter the Referrals used through the “OutlookConnector” job. Just broaden the project recommendations, eliminate the troubled things, and also incorporate the COM Collection appropriate for your body.
If you are actually certainly not capable to locate PIA for Office 2013 then follow these actions:
Click Service Traveler in Visual Workshop
Right click on your project label (certainly not option title).
Select ‘Handle Nuget bundles’.
Click Browse as well as hunt for PIA 2013, opt for the shown PIA and also click Install.