Microsoft.Office.Core Reference Missing

前端 未结 13 1483
谎友^
谎友^ 2020-12-13 01:11

Using the example provided in codeproject I am struggling to work out where I can find the reference to the library Microsoft.Office.Core.

I am getting the error \"

13条回答
  •  清歌不尽
    2020-12-13 02:11

    You need to download and install the PIA (primary interop assemblies) for the version of Office you are using. Once installed you can then add a reference to your project and they will be available from the add reference dialog. Here are the links to download them...

    Office 2010 PIA

    Office 2007 PIA

    Office 2003 PIA

提交回复
热议问题