I am bumping this because I'd like a response to.
We want to use VSTO 2005 SE to target 2003 and 2007 with a global managed add-in (in Word). In 2003, we'll want to do some CommandBar stuff (and would love to do some actions pane stuff if MS decides to support this from a global add-in). In 2007, we'll want to do some ribbonX and custom task pane stuff.
What's the best way to do this without writing two separate code bases. One assembly with conditional code (like SvenC mentions above)? One base assembly that dynamically loads a plug-in assembly that contains Word version-specific code (i.e., in 2003, dynamically load a MyAddin.Word2003.dll ... in 2007, dynamically load a MyAddin.Word2007.dll).
Can anyone put a simple example out there that minimizes redundant code and supports both 2003 and 2007?
Thanks in advance for the input.
ThirtySix Software - http://www.thirtysix.net |