Issue with Microsoft.Office.Interop.Excel.dll while converting application to 64 bit

て烟熏妆下的殇ゞ 提交于 2019-12-24 19:06:46

问题


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).

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.

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.

Can anybody help?


回答1:


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

  • Designing and Creating Office Solutions
  • Office Solution Prerequisites for Deployment

UPDATED

  • x86/x64 Runtimes


来源:https://stackoverflow.com/questions/4785315/issue-with-microsoft-office-interop-excel-dll-while-converting-application-to-64

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!