VSCT: various icons for different versions of VS

I am doing an extension for VS2010 and VS2012 which has a toolbar command.
Given the changing icon style between them, I want to provide a separate icon for each.

How to specify what in .vsct ? I suppose I could use Condition , but I'm not sure if there is a predefined value with the VS version.

+4
source share
1 answer

This seems impossible without using MSI, see " VS Package (VSIX): Two different toolbar icons for VS2010 / VS2012 " on the MSDN forums.

Ryan Molden (MSFT) :

I do not believe that you can use VSIX to install or set target resources. VSIX is intended as a very simplified deployment mechanism, in fact it is just a renamed ZIP file and an installer with a little logic for processing pkgdef files. If you need a more complex installation (for example, installing different DLLs based on your target installation), I believe you need to create an MSI.

+3
source

All Articles