public void InitializeProject(IVsProject project) { ThreadHelper.ThrowIfNotOnUIThread(); if (project.IsMSBuildIceBuilderInstalled()) { if (project.IsCppProject()) { VCUtil.SetupSliceFilter(project.GetDTEProject()); } else { if (project is IVsAggregatableProject && !project.HasProjectFlavor(IceBuilderNewFlavor)) { project.AddProjectFlavorIfNotExists(IceBuilderNewFlavor); } } } }