brink-daniel / ssms-object-explorer-menu

SSMS extension for adding custom menu items to the Object Explorer's right-click context menu
https://sqlmedic.com
GNU General Public License v3.0
10 stars 2 forks source link

Recompile for SSMS 18.x #1

Closed ChandraSaiKarthik closed 1 year ago

ChandraSaiKarthik commented 1 year ago

Hey, i did follow the steps to recompile the package and copied the folder to "C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Extensions". But it didn't work. (I know it was not officially supported). If it could support, it would be nice to have addin.

Further, I am using SSMSboost addin (v 3.12) which supports only SSMS v18.x. Sadly, the development of SSMSboost has been stopped. So, i have to stick with SSMS v18.x for some more time.

brink-daniel commented 1 year ago

Hi,

You need to replace the lib/SqlPackageBase.dll and lib/SqlWorkbench.Interfaces.dll in the source code with your local SSMS 18.x version of the same files before you compile the project.

If you still cannot get it working, let me know, I'll create an 18x branch. There might be a few other tweaks to the code required.

Cheers Daniel

brink-daniel commented 1 year ago

Confirmed. You only need to replace the two dll files and after that the code works perfectly for SSMS v18.12.1.

See branch here with the correct dll files: https://github.com/brink-daniel/ssms-object-explorer-menu/tree/SSMS_v18.12.1

ChandraSaiKarthik commented 1 year ago

Thanks @brink-daniel for your quick help. I use multiple SSMS Addins as below:

I am not sure which addin is still causing the issue with this addin. I got a similar issue with StatisticsReporterSSMSExtension which i'm still not able to find the RC