7

How can I make my VSIX file compatible with both Visual Studio 11 and Visual Studio 2010? I'm handing my VSIX file along with all its dependencies to a friend of mine, and when he opens it, he's getting the error "The extension manifest is invalid".

When I open it on my machine (the same machine that built the extension) it works just fine.

What do I do here?

Mathias Lykkegaard Lorenzen
  • 15,031
  • 23
  • 100
  • 187

1 Answers1

8

You need to build your extension using VS 2010 and the VS 2010 SDK to support both VS10 and VS11. In your VSIXManifest, you should add the following under <SupportedProducts>:

<VisualStudio Version="11.0">
  <Edition>Pro</Edition>
</VisualStudio>
Aaron Marten
  • 6,548
  • 1
  • 32
  • 41