Debug VSIX created in VS 2017 using an experimental instance of VS 2015

I have a VISX package that I am compiling using VS 2017. The package applies to VS 2015 and 2017 (he gladly installs and runs the production environment on both versions of VS).

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

How to install VSIX in an experimental instance of VS 2015?

+5
source share
1 answer
  • Since the creation of the extension, it has been deployed to the Visual Studio Experimental Instance version, the SDK of which was used to create the project, you need to remove the Microsoft.VSSDK.BuildTools version 15.0 NuGet package and use version 14.0 for Visual Studio 2015 .
  • You need to go to the "Properties" page of the project, the "Debug" tab and set the "Run external program" field to "C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ devenv.exe" Visual Studio executable 2015.
+4
source

Source: https://habr.com/ru/post/1266205/


All Articles