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 has Office 2007 and the developer added a reference to Microsoft.Office.Interop.Excel - all was good.
However, the build machine does not have Office 2007 installed. When the build is run on the build machine, we get the following build error: "The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)"
I did download the Office 2007 Primary Interop Assemblies redistributable. But when I run that msi on the build machine, I get a messagebox saying "Please Install Microsoft Office 2007 before installing this product"
Is it really necessary to install Office 2007 on the build machine? Is there some other way around this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…