Is it necessary for the build machine to have Microsoft Office 2007 installed?

后端 未结 3 749
猫巷女王i
猫巷女王i 2020-12-17 21:55

Our app added functionality to allow users to import certain information from an excel spreadsheet (all users will have Office 2007 already).

The development machine

相关标签:
3条回答
  • 2020-12-17 22:38

    Just ask your devs to check all dll dependencies. This is a clear case of "it works on my machine" where you need to drag the devs to the machine where it is not working and point out that their documentation is lacking in the "dependencies department". If you have access to the source code or can run ILSpy on the assemblies you can propably track this down yourselve.

    Safe bet is that yo just install Excel, but this is hitting the problem with a sledge hammer. Your devs SHOULD know what is really needed.....

    0 讨论(0)
  • 2020-12-17 22:39

    Yes, you must have Excel installed on all machines you want to run your app on.

    0 讨论(0)
  • 2020-12-17 22:44

    Make sure the Microsoft.Office.Interop.Excel assembly is checked-in with the source code and the VS project is referencing it from the source tree and not from GAC.

    After that is done, surely you do not need MS Office to be installed on the build machine, but you would need it for the application to run.

    0 讨论(0)
提交回复
热议问题