How do I make my VSIX file compatible with both VS11 and VS2010?
Asked Answered
P

1

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?

Passerby answered 23/4, 2012 at 12:47 Comment(1)
Here is the best answer I found on the topic: https://mcmap.net/q/577119/-vsixmanifest-for-all-vs-2010-2012-and-2013Fogarty
B
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>
Bathesda answered 24/4, 2012 at 5:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.