Need to create common VSIX extensions which need to support all versions of Visual Studio(2010 to 2017).
I referred to the below link to achieve the above requirement.
https://msdn.microsoft.com/en-us/magazine/mt493251.aspx
In that, they told to add the package(go to the Visual Studio C# Items | Extensibility | VSPackage node, select the Visual Studio Package template and name it MyPackage.cs) to the VSIX project by using the Visual Studio Package template in VSIX project but my visual studio didn't have the Visual Studio Package item template. It only has the Visual Studio AsyncPackage template. I have added my visual studio details below.
Visual studio old version only have “Visual Studio Package” option and also they suggest to use the AsyncPackage now to create a common package for multiple Visual Studio versions. Kindly find that details here.
If I have added the Visual Studio AsyncPackage in VSIX project, then followed the procedure, am facing below compilation error while VSIX project compilation.
Kindly suggest any solution to resolve that or else kindly suggest any other way to achieve my requirement.
Note: I have created a project with VS2012 with Visual Studio supported versions in vsixmanifest file. It's working only in VS2012 installed machine alone. Kindly advise on this.