将应用程序转换为64位时Microsoft.Office.Interop.Excel.dll出现问题 [英] Issue with Microsoft.Office.Interop.Excel.dll while converting application to 64 bit

查看:271
本文介绍了将应用程序转换为64位时Microsoft.Office.Interop.Excel.dll出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在努力将一组.net应用程序从原始的32位转换为64位。我们有应用程序的代码。因此,我们使用any-CPU设置重新编译应用程序。到目前为止,Oracle的数据访问组件存在问题。为此,我们将引用设置为 copy local = false specific version = false 。这些组件安装在GAC中后,在目标计算机上,引用会自动设置为来自GAC的正确64位版本(我们在GAC中安装了这些组件)。

We are working on converting a set .net applications to 64-bit from the original 32-bit. We have the code of the application. So we are recompiling the application with the any-CPU setting. We had so far issues with Oracle's data access components. For that, we set the reference as copy local = false and specific version = false. As these assemblies are installed in GAC, in the target machine, the reference is automatically set to the correct 64-bit version from the GAC (we install the assemblies in the GAC).

其中一个应用程序引用了 Microsoft.Office.Interop.Excel.dll ,由于无法在GAC中安装这些程序集,我们有些困惑因此,较早的技术对我们不起作用。

One of these application refer to the Microsoft.Office.Interop.Excel.dll and we are kind of stuck as we are not able to install these assemblies in the GAC and so the earlier technique is not working for us.

现在的问题是我无法在64位OS上运行此应用程序。 dll参考无法正常工作。

Now the problem is that I am not being able to run this application on a 64-bit OS. The dll reference is not working.

有人可以帮忙吗?

推荐答案

您可以将Office interop库作为安装程序的先决条件吗?

Can you run the office interop libraries as a prerequisite of your installer?

已更新

  • x86/x64 Runtimes

这篇关于将应用程序转换为64位时Microsoft.Office.Interop.Excel.dll出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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