Migrating VSIX Extensions To Dev11

March 30 2012

Hit an interesting issue with porting Visual Studio VSIX extensions to Dev11. 

To get my extension to work in Dev11, I tweaked the source.extension.vsixmanifest file. While there is a GUI for editing that file, it doesn’t expose the ability to add Dev11 as a supported edition. However, you can open the source.extension.vsixmanifest up in your favorite xml editor and party on it there. In my case, I changed it as follows:

<SupportedProducts> <VisualStudio Version="10.0"> <Edition>Ultimate</Edition> <Edition>Premium</Edition> <Edition>Pro</Edition> <Edition>IntegratedShell</Edition> </VisualStudio> <VisualStudio Version="11.0"> <Edition>Ultimate</Edition> <Edition>Premium</Edition> <Edition>Pro</Edition> <Edition>IntegratedShell</Edition> </VisualStudio> </SupportedProducts>

Easy enough – the vsix installer will then install your extension for both versions. Nice!

vsix

However, I experienced some odd behavior that may catch some people.  There’s another section of the vsixmanifest called the <Content> section.  You are supposed to put an element into that section called the <VsPackage> element, with the name of the pkgdef file (which is an .ini file).  However, in VS2010, you could get away without having this element. But, in Dev11, if you don’t have this element, your extension will install but never initialize.  So make sure you have this element, either as macro, aka

<VsPackage>|%CurrentProject%;PkgdefProjectOutputGroup|</VsPackage>

Or as a hardcoded value:

<VsPackage>MyVSIX.pdkdef</VsPackage>

Finally, be sure to test test test in Dev11, as you never know what might get ya.

Comments (1) -

8/13/2012 11:44:53 PM #

Abercrombie UK

Abercrombie [url=www.abercrombieukofficial.biz/.../]Abercrombie and Fitch sales UK and Fitch[/url]  Burnished Leather Cord Tote Clothing

If you [url=www.abercrombieukofficial.biz/c_accessories/]sale Abercrombie and Fitch UK[/url] are searching for [url=www.abercrombieukofficial.biz/.../]Abercrombie sales UK sumptuous[/url] causal looking designer clothing, I deem the Abercrombie  [url=www.abercrombieukofficial.biz/.../]and  Abercrombie and Fitch outlet store UK Fitch[/url] clothing can be your first choice. [url=www.abercrombieukofficial.biz/.../]Simple Abercrombie and Fitch outlet UK[/url] yet classic designs always can  [url=www.abercrombieukofficial.biz/.../]endure the Abercrombie cheap UK[/url] test of time and keep in style  [url=www.abercrombieukofficial.biz/.../]for  Abercrombie Fitch wholesale UK years[/url] to come. For instance, the Abercrombie and Fitch Burnished Leather Cord Tote Clothing belongs to the category of lasting carryalls.

As said, this tote clothing comes in a burnished leather finish with smooth leather trims and leather piping on seams, which greatly brighten the dull colors in fall and winter season as well as bright you freshness and elegance. Inverted pleat detail at front and back makes the plain-designed clothing more sophisticated and feminine while  [url=www.abercrombieukofficial.biz/.../]the plaited Abercrombie and Fitch UK sale[/url] cord belt around top is an interesting yet functional design for it can used to adjust  [url=www.abercrombieukofficial.biz/.../]the  Abercrombie and Fitch outlet store UK size of the[/url]   clothing based [url=www.abercrombieukofficial.biz/.../]kids Abercrombie UK on your[/url]  needs. The iconic Equestrian Knight Emblem and trademark 'Abercrombie and Fitch established 1856' inscription is embossed at [url=www.abercrombieukofficial.biz/.../]Abercrombie and Fitch outlet UK front showing the[/url]   sumptuousness of Abercrombie [url=www.abercrombieukofficial.biz/.../]Abercrombie & Fitch fierce UK[/url] and Fitch clothing.

In addition, it is definitely a roomy [url=www.abercrombieukofficial.biz/.../]Abercrombie UK tote with[/url]  the measurement of 48cm  [url=www.abercrombieukofficial.biz/.../]x  Abercrombie and Fitch bags UK 44cm[/url] x 15cm, letting you throw in  [url=www.abercrombieukofficial.biz/.../]your everyday Abercrombie UK sale[/url] essentials in it. And the interior features fine  [url=http://www.abercrombieukofficial.biz/c_dude/]twill  Abercrombie sale clearance UK check[/url] lining, one central zip compartment with   [url=http://www.abercrombieukofficial.biz/c_cali-hco/]three interior  Abercrombie and Fitch UK sale patch pockets and[/url]   one interior [url=www.abercrombieukofficial.biz/.../]Abercrombie and Fitch clearance UK zip pocket[/url]  [url=www.abercrombieukofficial.biz/.../]Abercrombie and Fitch UK stockists to organize your[/url]   stuff and the leather base with five feet carefully protects the clothing. With two rolled plaited cord handles with branded metallic buckle attachments, it can be stylishly and comfortably hand-held. And this luxurious yet practical Abercrombie   [url=www.abercrombieukofficial.biz/.../]and Fitch  Abercrombie and Fitch stockists UK Tote is retailed[/url]   for £1,095.

Abercrombie UK

Add comment

biuquote
  • Comment
  • Preview
Loading