public int OnBeforeCloseProject([In] IVsHierarchy pHierarchy, [In] int fRemoved) { _fileCache?.InValidateCache(); return VSConstants.S_OK; }