"Embedded interoperability type" cannot be found in the right-click property of office component DLL in vs2010

Source: Internet
Author: User

Recently, the project encountered a strange problem. Add an Excel reference to the project, right-click the reference, and select properties. The "embedded interoperability type" cannot be found because when the office component is referenced, set the "embedded interoperability type" to false. Otherwise, the compilation fails. Baidu later found a solution to the problem.

Problem:

Solution 1:

Modify the target framework of the Project to. NET Framework 4 and later.

Solution 2:

If the target framework of the project must be. Net framework2.0, you can modify it in the project file. csproj.

Open the project file in txt,

In this way, the work is finished.

one piece of cake

At home

If you need consultation on office export and other related functions, please add Q: 371323761. I will provide paid technical consultation.

"Embedded interoperability type" cannot be found in the right-click property of office component DLL in vs2010

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.