本文介绍了Interop.Excel 12.0安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在尝试在用户计算机上部署我的应用程序。该应用程序使用Microsoft Excel 12.0对象库作为参考。 (这是必需的。该程序使用Excel输出各种报告。)当某些用户尝试安装它时,会抛出一个错误,指出GAC中没有安装Microsoft.Office.Interop.Excel v12.0。 br /> 这些用户没有在他们的机器上安装Excel 2007(或更高版本),所以我怀疑这就是问题所在。即使他们没有Excel 2007或更高版本,有没有办法在GAC中安装excel互操作v12.0? 如果答案是否定的,可以我只是在我的应用程序中使用和早期版本(如11.0)。I am attempting to deploy my application on user machines. The application uses as a reference the Microsoft Excel 12.0 Object Library. (This is needed. The program uses Excel to output various reports.) When some of the users try to install it, an error is thrown saying that the Microsoft.Office.Interop.Excel v12.0 is not installed in the GAC.Theses users do NOT have Excel 2007 (or later) installed on their machines, so I suspect this is where the problem lies. Is there a way the install v12.0 of the excel interop in the GAC even though they do not have Excel 2007 or later?If the answer is no, can I just use and earlier version (like 11.0) in my application.推荐答案 这篇关于Interop.Excel 12.0安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-23 21:23