SQL Studio Management Studio 2017

At first glance it might appear SSMS 2017 no longer supports third party source controls only because the Tools, Options menu no longer displays the Source Control section.

However, it turns out it is quite easy to tweak the SSMS 2017 configuration to restore those missing Source Control configuration options as described below.

Enabling Source Control for SSMS

VERY IMPORTANT: The changes described below enable the source control options found in the Visual Studio 2015 shell and since SSMS 2017 is based that same shell, these changes will also enable the source control for SSMS.

However the SSMS 2017 installer does not install these source control components.

For this reason, the changes described below will only work if Visual Studio 2015 (or the VS2015 isolated shell) has also been installed.

The test described below was done using the SSMS v17.4 release:

SSMS 2017 About

Step 1. With SSMS not running, make a backup copy of the SSMS configuration file shown below, copying it to a safe location just in case something goes wrong:

C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\ssms.pkgundef

Step 2. Open the SSMS configuration file from the location above and comment out the the TFS SCC Configuration entries entries as indicated by the // *** line comments in the text below:

    // TFS SCC Configuration entries.  The TFS entries block Team Explorer from loading.
    // Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage
    // Microsoft.VisualStudio.TeamFoundation.Lab
    // GitHub Package
    // Team Foundation Server Provider Package
    // Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPackage
    // Microsoft.VisualStudio.TeamFoundation.Build.BuildPackage
    // Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
    // Microsoft.VisualStudio.TeamFoundation
    // Microsoft.TeamFoundation.Git.Provider.SccProviderPackage
    // Microsoft.VisualStudio.TeamFoundation.VersionControl.SccPcwPluginPackage
    // Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage
    // Visual SourceSafe Provider Package
    // *** [$RootKey$\Packages\{AA8EB8CD-7A51-11D0-92C3-00A0C9138C45}]
    // Visual SourceSafe Provider Stub Package
    // *** [$RootKey$\Packages\{53544C4D-B03D-4209-A7D0-D9DD13A4019B}]
    // Microsoft.VisualStudio.TeamFoundation.Initialization.InitializationPackage
    // Team Foundation Server Provider Stub Package
    // Microsoft.VisualStudio.Services.SccDisplayInformationPackage
    // Microsoft.VisualStudio.TeamFoundation.Lab.LabPcwPluginPackage
    // *** [$RootKey$\ToolsOptionsPages\Source Control]
    // TFS SCC Configuration entries.

Step 3. Save the file changes, start SSMS 2017 and now the Source Control section is once again accessible by using the Tools, Options menu:

SSMS 2017 Options

Step 4. To make sure all the componets mentioned earlier are in fact installed, select Source Control section shown below:

SSMS 2017 Options

If that panel does not show correctly it means the Visual Studio 2015 components are not installed.

Step 5. With those changes made just create a SSMS project and start adding the items to source control:

SSMS 2017 Options
Latest Version: Agent Git 1.82
Released: 2nd June 2019