Maintaining Office 2003 Programmability with Side-by-Side Office Install
In order to build for Office 2003 interop/automation while having Office 2007 installed in a side-by-side installation, you need to remove the .NET programmability support from each 2007 product. This ensures that the latest version available in the GAC is version 11 (2003), since most of the time .NET builds will pull from there instead of a local reference.
To do this, go to add/remove programs and call up the “Change Features” window for Office 2007, find the item called “.NET Programmability Support” under each individual product you have installed, and remove it. There are also items under Office Tools for Graph and Smart Tags.
Then, your GAC will include only version 11 assemblies for each product rather than 11 and 12. You should be able to build as you did before under 2003 alone.
Related Posts
- 17 Oct 2011 » Weekend of Eating
- 10 Oct 2011 » Computer Chronicles
- 29 Oct 2009 » One-way Hashing for C# and Java
this site
unicron.github.com
© Brendan Hannemann
my other sites
github
stackoverflow
google reader
jillandbrendan.com
links
nanek.net
hross.net
coding horror