Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install manually vsix (2011) in Visual Studio 2012?

I'm trying to install a vsix add-in in VS2012. However it looks like this add-in is available only for VS2010.

Is there any way to install it manually or to force it to work on 2012?

Thanks!

like image 381
Alex Pereira Avatar asked Nov 07 '12 12:11

Alex Pereira


1 Answers

VSIX is just a zip-archive. Unpack it, locate the file extension.vsixmanifest. This is an XML file, open it. Locate the section SupportedProducts. It should look like the following:

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

Copy-paste the VisualStudio section and update the Version attribute on the pasted fragment to 11.0.

Pack the contents back into a zip-archive. Make sure the archive have the VSIX extension. You're done.

like image 89
Mikhail Avatar answered Oct 13 '22 11:10

Mikhail