Is this possible?
My app references Excel 2007 Primary Interop Assemblies. Can I install these on a PC which has only Excel 2002 (XP) installed?
Or do I need the Office XP PIAs?
In that case, do I need to modi开发者_运维技巧fy my program to reference the old PIAs?
Just did a quick search and this link may help: Achieving Backward Compatibility with .NET Interop: Excel as Case Study
The short answer seems to be Interops
are not forward compatible, i.e. they will not work with lower versioned assemblies in deployed environment than targeted originally. In order to target lower version you should reference the lower version assemblies explicitly.
精彩评论