用于c#应用程序的Excel 2016的Interop程序集 [英] Interop Assemblies for Excel 2016 for c# application

查看:417
本文介绍了用于c#应用程序的Excel 2016的Interop程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到用于框架4.6.1应用程序的Excel 2016的Interop程序集和/或COM?

Where can I find the Interop assemblies and/or COM for Excel 2016 for use in a framework 4.6.1 application?

参考程序集只显示v14和v15这导致了可怕的"无法投射......"例外。

Reference assemblies show only v14 and v15 either of which result in the dreaded "Unable to Cast ... " exception.

这个问题有解决办法吗?

Is there a solution to this problem ?

mtk

推荐答案

你好marisk,

Hi marisk,

你在开发哪个项目?什么是错误的完整信息"无法投射......"?什么代码导致错误?你说框架4.6.1,你会在其他版本的框架中得到错误吗?

Which project are you developing? What’s full information of the error "Unable to Cast .."? What code causes the error? You said framework 4.6.1, will you get error in other version of framework?

最好的问候,

Terry


这篇关于用于c#应用程序的Excel 2016的Interop程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆