I am trying to create an add-in for SSMS 2008 and / or 2008 R2, but I immediately ran into a problem.
I can make my add-in work, and when I start SSMS just show a message box.
However, after loading various code samples, when I try to reference Microsoft.SqlServer.Management.UI.VSIntegration.ServiceCache, I get an exception with a null reference:
Commands2 commands = (Commands2)ServiceCache.ExtensibilityModel.Commands;
I get this problem when using SSMS 2008 or SSMS 2008 R2. I am working on Visual Studio 2010.
This is a little disappointing because I really want to learn more about SSMS add-ons, but I can't seem to get past a few samples.
Any tips / advice appreciated.
thank
source
share