The Visual Studio package project type adds an additional tab to the project properties view named VISX
. On that tab the Deploy VSIX content to experimental instance for debugging
option is checked by default; that´s the reason why package files are copied to the extensions directory of the current user´s profile after build.
If you want to start Visual Studio using the experimental hive you must customize the Debug
settings of the class library project. Set the Start Action
to Start external program
and select the devenv.exe
file (the file´s location depends on your installation folder) and specify the following commandline arguments:
/rootSuffix Exp
This allows to debug the extension by pressing F5.