int IVsSolutionLoadEvents.OnBeforeOpenSolution(string pszSolutionFilename) { IVsSolutionLoadEvents hostService = (IVsSolutionLoadEvents)GetService(typeof(IHostService)); return(hostService.OnBeforeOpenSolution(pszSolutionFilename)); }