/// <summary> /// Determines if NuGet is used in the project. Currently, it is determined by checking if packages.config is part of the project /// </summary> /// <param name="project">The project which is checked to see if NuGet is used in it</param> public static bool IsNuGetInUse(Project project) { return(EnvDTEProjectUtility.IsSupported(project) && File.Exists(EnvDTEProjectInfoUtility.GetPackagesConfigFullPath(project))); }