private void SetupReferenceMenu() { var mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService; if (mcs != null) { fsiReferenceMenu = new FsiReferenceCommand(DTE.Value, mcs); fsiReferenceMenu.SetupCommands(); } }