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?
Visual Studio extensions can be installed using the Extension Manager UI within the software. NOTE: You can use the Visual Studio 2010 SDK to create VSIX extensions.
A VSIX package is a . vsix file that contains one or more Visual Studio extensions, together with the metadata Visual Studio uses to classify and install the extensions. That metadata is contained in the VSIX manifest and the [Content_Types]. xml file.
Steps: Open Developer Command Prompt for Visual Studio > type cd XXXX (replace XXXX with the path for example, for VS 2019 Community, C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE ) > press Enter > type VSIXInstaller.exe > press Enter > check if the extension has been installed.
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With