How can I use Visual studio 2015 to debug an extension for visual studio 15? -


i have extension developed visual studio 2015 i'd start testing visual studio 15.

to try , set project launch c:\program files (x86)\microsoft visual studio\vs15preview\common7\ide\devenv.exe instead of c:\program files (x86)\microsoft visual studio 14.0\common7\ide\devenv.exe, keeping command line arguments set /rootsuffix exp. set appropriate install target in manifest:

<installationtarget id="microsoft.visualstudio.community" version="[14.0,15.0)" /> <installationtarget version="[14.0,15.0)" id="microsoft.visualstudio.pro" /> <installationtarget version="[14.0,15.0)" id="microsoft.visualstudio.enterprise" /> <installationtarget version="15.0" id="microsoft.visualstudio.enterprise" /> <installationtarget version="15.0" id="microsoft.visualstudio.pro" /> <installationtarget version="15.0" id="microsoft.visualstudio.community" /> 

(i've tried installation targets of [14.0,16.0) too).

when debug project experimental instance of vs 15 launches ok, doesn't have extension installed.

is possible use visual studio 2015 debug extension visual studio 15 , if so, how?

what happening extension still getting installed vs2015 experimental instance. because of these lines in proj file:

<vstoolspath condition="'$(vstoolspath)' == ''">$(msbuildextensionspath32)\microsoft\visualstudio\v$(visualstudioversion)</vstoolspath> ... <import project="$(vstoolspath)\vssdk\microsoft.vssdk.targets" condition="'$(vstoolspath)' != ''" /> 

because running vs2015 path targets file resolved vs2015 one. it's defines how vsix gets installed experimental instance.

i tried changing reference newer vssdk targets file, caused sorts of errors didn't want wade through.

to test extension debugged (making install on vs2015 experimental), found installed extension in file structure (vs14exp), copied vs15 folder, debugged again, launching vs15 devenv. experimental instance. @ point breakpoints being hit etc since loaded extension folder.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -