Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Supporting features from newer Visual Studio version SDK in a VSPackage

$
0
0

Hello,

I have a VSPackage that was initially created using VS2010 SP1 SDK, and it works well also in VS2012 and VS2013 without any changes (except the vsixmanifest).

I now want to extend the package to use certain features that are only available in the newer VS SDKs. More specifically, there's one feature I need that only exists in VS2012 and above, and another one which is new in VS2013 SDK. I want to implement those features in separated assemblies, so that features that can only be used in VS2012, for instance, will be in MyPackage.Extras.vs11.0.dll, and so on, and they are exported as MEF components.

Here is my question: Is there a way I could keep my package as 1 single vsix, or should I split my package into 3 different projects, with 3 different vsixmanifests, each referencing different DLLs as MefComponents and targeting a specific version of Visual Studio? Or, essentially, what is the best practice for re-using VSPackage code between different versions of Visual Studio?

Thanks!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>