Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / January 2006

Tip: Looking for answers? Try searching our database.

Studio Version Compatability

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
msoegrad@gmail.com - 11 Jan 2006 19:50 GMT
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?
Dustin Campbell - 11 Jan 2006 20:01 GMT
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.