问题
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