Excel primary interop assembly is not found

when i package the "deployable archive with excel integration" ,i get the error below:
"Excel primary interop assembly is not found. Install Visual Studio Office Developer tools. These tools are usually installed during a standard Visual Studio installation."
but i have installed the "office/sharepoint development " component,which includes "office developer tools for visual studio". i try from visual studio 2017 to 2019,it just doesn't work,i can't figure out why.please help me,thank you.

 採用された回答

weixun yan
weixun yan 2019 年 7 月 24 日

0 投票

1 件のコメント

weixun yan
weixun yan 2019 年 7 月 24 日
for VS 2017 and Office 2016, you can try to copy
C:\Program Files (x86)\Microsoft Office\root\Office16\ADDINS\Microsoft Power Query for Excel Integrated\bin\Microsoft.Office.Interop.Excel.dll
TO:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office15
Create the path if doesn't exist

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import from MATLAB についてさらに検索

製品

リリース

R2019a

タグ

質問済み:

2019 年 7 月 24 日

コメント済み:

2019 年 7 月 24 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by