Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will this work in SSMS v. 19 #26

Closed
magnusbratt opened this issue Jul 1, 2022 · 2 comments
Closed

Will this work in SSMS v. 19 #26

magnusbratt opened this issue Jul 1, 2022 · 2 comments

Comments

@magnusbratt
Copy link

magnusbratt commented Jul 1, 2022

It works beautifylly for me in SSMS v. 18. I tried the same istallation instructions but installed in the folder for SSMS v. 19 (preview 2): C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Extensions\SSMS Schema Folders

I unblocked the zip-file, before extracting.

I answered no to the error message on first start.

When I go to Tools > Option > SQL Server Object Explorer > Schema folders I get An error occured loading this property page.

@nicholas-ross
Copy link
Owner

Microsoft have added the required assembly binding redirect for 18 to 19. However I am currently defaulting to 2016 for unknown versions.

Attached is a version with the performance tweaks from another issue but it now defaults to version 18. I've tested it works with version 19 preview 2. I will do a proper release when 19 is released.
SSMS Schema Folders.zip

For those that want to make the change in the code themselves, in file SsmsSchemaFoldersPackage.cs function GetObjectExplorerExtender() change the final return statement from

return new Ssms2016::SsmsSchemaFolders.ObjectExplorerExtender(this, Options);

to

return new Ssms18::SsmsSchemaFolders.ObjectExplorerExtender(this, Options);

@magnusbratt
Copy link
Author

Works flawlessly! Thank you for a great extension!

nicholas-ross added a commit that referenced this issue Jul 28, 2022
Compatibility with 19 preview.
micjahn pushed a commit to micjahn/SSMS-Schema-Folders that referenced this issue Jan 9, 2023
Compatibility with 19 preview.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants