解决方案一:
打开控制面板,打开程序与功能,将SQL ServerMS18 卸载,然后打开安装包重新安装。
解决方案二
找到MSSMS安装位置,例如我是安装到了D:\Program Files (x86)\Microsoft SQL Server Management Studio 18
将D:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\PrivateAssemblies\Interop文件夹下的Microsoft.VisualStudio.Shell.Interop.8.0.dll
复制到D:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\PublicAssemblies文件夹下
这是我在网上找到的一个解决问题的方案,转载自:https://www.cnblogs.com/wheszza/p/10841603.html