I followed simple Hello World sample from Create your first extension: Hello World example from the Microsoft Docs to build an extension for SSMS 2017
Created VSIX project from Extensibility project template
Changed "Start External Program" in Project > Properties > Debug to
C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe
Add
-S (localdb)\MSSQLLocalDB -d sampleDB -E
in command line arguments as
it requires servername/database be specified to run SSMS.exe.- Add Custom command using Add new item
- Run the project
If step #2 & #3 is not performed, it works fine with Visual Studio, however nothing happens with SSMS, though it launches SSMS.
DId I missing something or is there any restriction for creating add-in for SSMS?
HKCU\Software\Microsoft\SQL Server Management Studio\12xxx
notHKCU\Software\Microsoft\VisualStudio
– Megavolt