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

Support for Visual Studio 2022 #284

Closed
wants to merge 2 commits into from

Conversation

WilliamRobertson09
Copy link

Pull request details

Use this tool often for SQL projects and was great in Visual Studio 2019. Noticed that a little bit changed in how VSIX projects were managed in visual studio 2022 so decided to create a new project that used the SSMSLib in VS2022.

As a part of this development went through quite a few hurdles getting the project to build in Visual studio 2022 and I think that is due to the fact that the project was being maintained in Visual Studio 2013. Nuget has gotten quite a bit smarter as well as build processes, so a few packages.config files have been updated as well as some project configuration files

Breaking changes

I'm not 100% convinced that key board shortcuts work anymore. Was having issues migrating that part to VSIX for 2022. Would appreciate if anyone can work it out.

Issues fixed

  1. New project allows the VSIX to be used in Visual Studio 2022

Notes

Welcome any feedback from those who may be more adept at making extensions for visual studio as this is my first time delving into this type of project.

…Studio 2022 through NuGet package manager.

Created the VSPackage 2022 Project that can be build to create a VSIX that works with Visual Studio 2022
@lennybacon
Copy link

What is the difference to #275?

@WilliamRobertson09
Copy link
Author

What is the difference to #275? @lennybacon

From looking at your changes, I've taken the approach of adding packages.config file as well as the Solution build steps to avoid having to hardcode the version numbers as you did (as well as forcing visual studio to build the projects with the correct version of the SDK). I believe your approach to fixing this issue when building was to "...fix the version numbers of the references projects."

I was unable to get your branch to build successfully in my install of Visual Studio 2022 to install it (this was before someone kindly put it on the Visual Studio marketplace).

I will close this merge request as the intention of both merges are the same, and your approach has been proven through real world use.

@WilliamRobertson09
Copy link
Author

Duplicate of #275

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

Successfully merging this pull request may close these issues.

2 participants