6

I have a VISX package that I compile using VS 2017. The package applies to VS 2015 & 2017 (it happily installs and runs in a production environment on both version of VS).

When I debug the project in VS 2017, it launches the VS 2017 experimental instance. However, I would like to be able to debug it using the VS 2015 experimental instance.

How do I install my VSIX into the VS 2015 experimental instance?

Sprotty
  • 5,676
  • 3
  • 33
  • 52
  • Change the command line under the VSIX tab in your project to point to VS 2015 devenv.exe ? – ErikEJ Apr 01 '17 at 13:36
  • That allows me to run VS 2015 Exp, but the VSIX is not installed into it. Is there a way to install the VSIX into an Experimental Instance? – Sprotty Apr 01 '17 at 14:13

1 Answers1

5
  1. Since once the extension is built it is deployed to the Visual Studio Experimental Instance of the version whose SDK was used to build the project, you need to remove the NuGet package Microsoft.VSSDK.BuildTools version 15.0 and use version 14.0 for Visual Studio 2015.
  2. You need to go to the Properties page of the project, Debug tab, and set the Start external program field to the “C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe” executable of Visual Studio 2015.
Carlos Quintero
  • 4,300
  • 1
  • 11
  • 18
  • OK, so the build tools push the VSIX into the expermental hive, got it. So basically I need a project for each version I'm targetting with the appropriate build tools for the target. Not ideal, but workable. Thanks – Sprotty Apr 28 '17 at 13:23