Skip to content

Commit

Permalink
SSMS 19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-ross committed May 25, 2023
1 parent 34f73c4 commit 5e0bc62
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SsmsSchemaFoldersPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ private IObjectExplorerExtender GetObjectExplorerExtender()

switch (ssmsInterfacesVersion.FileMajorPart)
{
case 19: // v19.1 changed file version numbers
case 16:
debug_message("SsmsVersion:19");
return new Ssms19::SsmsSchemaFolders.ObjectExplorerExtender(this, Options);
Expand Down Expand Up @@ -153,8 +154,8 @@ private IObjectExplorerExtender GetObjectExplorerExtender()
}
}

ActivityLogEntry(__ACTIVITYLOG_ENTRYTYPE.ALE_WARNING, "Unknown SSMS Version. Defaulting to 18.");
return new Ssms18::SsmsSchemaFolders.ObjectExplorerExtender(this, Options);
ActivityLogEntry(__ACTIVITYLOG_ENTRYTYPE.ALE_WARNING, "Unknown SSMS Version. Defaulting to 19.");
return new Ssms19::SsmsSchemaFolders.ObjectExplorerExtender(this, Options);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 5e0bc62

Please sign in to comment.