.net - Developing a Visual Studio Extension for VS 2005+ -


i developing visual studio extension compatible vs 2005+(2005,2008,2010,2012,2013 , 2015).

i have been looking requirements possible , came across manual on doing http://www.viva64.com/en/a/0082/ . covers lot of details on how accomplish this, lost when starting scratch developing first vs extension.

the article says,

developing vs extension packages requires installation of microsoft visual studio sdk targeted version of ide, i.e. separate sdk should installed every version of visual studio extension being developed.

does mean need 2005 sdk, 2008 sdk, 2010 sdk, etc.?

also, don't see version of visual studio has used. found other articles mentioned versions, related 2010+ extensions.

i assuming should use .net framework 3.5 backwards compatibility.

i have following questions:

  1. what version of visual studio should create project on?
  2. what version of .net framework should target?
  3. what visual studio sdks required?

it seems arbitrary decision want vs extension compatible vs2005+. why not vs2003+ or vs2008+?

anyway, possible difficult because vs has changed since 2005. debugging , testing , extension can nightmare. you'll have keep track of features supported vs version.

to this, have develop vspackage. article referenced discusses vspackages barely says compatibility.

compatibility here cannot achieved @ source code level. according this important parts emphasized:

most vspackages work in visual studio 2005 continue work in visual studio 2008 without modification. services, entry points, , events maintain compatibility, but there some exceptions, listed later in topic. programmatic interfaces maintain compatibility generally, elements of interfaces may change , require source code modification work visual studio 2008.

even when microsoft doesn't compatibility problems, have been cases things working in previous versions mysteriously became broken in later versions of visual studio.

you'll have use conditional compilation , compile extension against each vs sdk version. deployment model of extension different different ide versions.

my recommendation target vs2010+ rather vs2005. easier , developers using vs2010+ anyway.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -