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

后端 未结 3 762
猫巷女王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: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.

提交回复
热议问题