private async Task AutoAddProject(Project dteProject)
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

            var project = await SolutionExtensions.GetIVsHierarchy(dteProject) as IVsSccProject2;

            if (_solutionLoaded)
            {
                if (GitSccOptions.Current.AutoAddProjects && project != null && !SolutionExtensions.IsProjectInGit(dteProject.FullName))
                {
                    await AddProjectToSourceControl(project);
                }
                //ok To be safe rebuild cache
                await RefreshSolution();

                //if (!_fileCache.ProjectAddedToCache(project))
                //{
                //    await _fileCache.AddProject(project);
                //}
            }
        }