Is there a way to develop a VSIX extension under Visual Studio 2012, which then could be installed in Visual Studio 2010? I've tried to set version range for Microsoft.VisualStudio.Pro
target to [10.0,11.0]
, but when I launch a compiled VSIX, it offers only VS2012 to be install into.
I know it is possible to develop VSIX under VS2010, which is applicable for VS2012, though it requires to manually edit a .vsixmanifest
file. But I wonder if it is possible to use newer VS2012 for developing?
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. A VSIX package may also contain one or more Extension.
The VSIX Project template has both Visual Basic and Visual C# versions, and is installed as part of the Visual Studio SDK. The VSIX Project template just consists of a source. extension. vsixmanifest file, which contains information about the extension and the assets it ships.
You can, but have to create manually the source.extension.vsixmanifest
file in the 1.0 format (handled by VS2010), whereas VS2012 uses version 2.0. You will only lose the visual property editor.
You also need to make sure that you've compiled against .NET 4.0 or lower rather than .NET 4.5.
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