As mentioned in other posts, by default VSIX extensions will install to the following directory matches and this cannot be changed:
%VSAPPDATA%\Extensions\
My question is: If that is the default location and is known, why are these locations not in the default list of allowed locations under Tools-->Options-->Environment-->Add-in Security?
The closest location is %VSAPPDATA%\Addins so this means that if you are developing VS Extensions you have only 2 options:
- Create an MSI which deploys the required files to a known location and manually add that location in the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\\AutomationOptions\LookInFolders
- Somehow notify the users of your extension to add this manually through VS.
Is this an oversight or am I missing something? I ended up going for option 1 above and can't help thinking it is overkill.