title: How to create extension for SQL Server Management Studio 17 in C# in VS2017?
body: <p>I followed simple Hello World sample from <a href="https://docs.microsoft.com/en-in/visualstudio/extensibility/extensibility-hello-world" rel="nofollow noreferrer">Create your first extension: Hello World example</a> from the Microsoft Docs to build an extension for SSMS 2017</p>
  
  <ol>
  <li><p>Created VSIX project from Extensibility project template</p></li>
  <li><p>Changed "Start External Program" in Project > Properties > Debug to<br>
  <code>C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe</code></p></li>
  <li><p>Add <code>-S (localdb)\MSSQLLocalDB -d sampleDB -E</code> in command line arguments as<br>
  it requires servername/database be specified to run SSMS.exe.</p></li>
  <li>Add Custom command using Add new item</li>
  <li>Run the project</li>
  </ol>
  
  <p>If step #2 &amp; #3 is not performed, it works fine with Visual Studio, however nothing happens with SSMS, though it launches SSMS.</p>
  
  <p>DId I missing something or is there any restriction for creating add-in for SSMS?</p>