locked
Why does this Visual Studio extension is not usable from VS 2010 when built on machine with only 2012 RC installed? RRS feed

  • Question

  • Here's the project file contents

    When I build it on my Win8 RP machine with only VS 2012 RC installed, result vsix can be installed into VS 2010, but tagger provider does not work actually. Building on Win7 machine with both VS 20102, and 2010 SP1 installed results in fully functional vsix, which works on both VS 2010, and 2012.

    Monday, June 18, 2012 4:19 AM

Answers

  • To multi-target you must have all the different versions of the SDK on your build machine and make sure your references are resolving to the assemblies of the lowest SDK version you want to support. I suspect one of your "10.0" references is resolving against the binary compatible, but CLR version different version of those 10.0 assemblies. If so that CLR version would not exist on a 2010 box. If you attach a debugger to VS before trying to load your extension I suspect you would see a FileNotFoundException or something similar.

    Ryan

    Tuesday, June 19, 2012 3:59 PM