I'm developing a VsPackage and try to test it under Hive other then the Exp.
I created a new Hive using the vs developer command prompt using the following command: devenv /rootsuffix MyExp
And than run VS with /rootsuffix MyExp command line arguments, but failed to make my extension work on that hive . Only when I run it under the Exp it work.
The main reason that I don't want to run it under the Exp hive is that I don't want to effects other extension on the hive.
After searching the 'Exp' string under my package project sub folders.
I found the place that declares to where the VSSDK build tool will copy my vs-package.
On my machine, under my vs-package folder:
MyPackage\packages\Microsoft.VSSDK.BuildTools.14.1.24720\tools\vssdk\Microsoft.VsSDK.Common.targets file.
I change the value in VSSDKTargetPlatformRegRootSuffix under PropertyGroup section from:
<VSSDKTargetPlatformRegRootSuffix Condition="'$(VSSDKTargetPlatformRegRootSuffix)' == ''">*Exp*</VSSDKTargetPlatformRegRootSuffix>
to:
<VSSDKTargetPlatformRegRootSuffix Condition="'$(VSSDKTargetPlatformRegRootSuffix)' == ''">*MyExp*</VSSDKTargetPlatformRegRootSuffix>
MyExp is the name of my new Hive.