> I am working on an add-in and would like to have it work under 2003 as
> well as 2005. Is there a way to use the same add-in for both or do I
> have to write a separate add-in for each version?
It is possible to get your add-in to work in both versions. But, you'll have
to write and compile the add-in with Visual Studio .NET 2003.
-----
Best Regards,
Dustin Campbell
Developer Express Inc
msoegrad@gmail.com - 11 Jan 2006 21:17 GMT
Thanks. You wouldn't happen to know what settings (registry or file
system) I have to set so it loads in 2005? Or point me to a resource
that says because I noticed that the default add-in project in 2005
doesn't include a setup project like the 2003 version does.
Carlos J. Quintero [VB MVP] - 12 Jan 2006 10:15 GMT
Hi,
You can register the version for 2005 under the
Microsoft\VisualStudio\8.0\AddIns key.
Notice that some things are different, for example, the CommandBars
assembly, so I'd recommend different binaries sharing the same source code.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET,
VB6, VB5 and VBA
You can code, design and document much faster in VB.NET, C#, C++ or VJ#
Free resources for add-in developers:
http://www.mztools.com
> Thanks. You wouldn't happen to know what settings (registry or file
> system) I have to set so it loads in 2005? Or point me to a resource
> that says because I noticed that the default add-in project in 2005
> doesn't include a setup project like the 2003 version does.
Anna-Jayne Metcalfe - 13 Jan 2006 18:10 GMT
> It is possible to get your add-in to work in both versions. But, you'll
> have to write and compile the add-in with Visual Studio .NET 2003.
Unless you write it entirely in native code of course. In such cases its
perfectly practical to target everything from VS2002 (or even VS5 or VS6, if
you're so inclined) to VS2005 in a single binary built with any development
environment which supports COM development.
I certainly wouldn't claim this an easy option though - any form of cross
target development tends to get tricky very, very quickly.
One day I may get around to writing an article on it, but at the moment
things are just far too busy.
Kind Regards,
Anna-Jayne Metcalfe
Software/Product Development Consultant,
Riverblade Limited.
http://www.riverblade.co.uk