/// <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(this Project project) { return(project.IsSupported() && project.ContainsFile(Constants.PackageReferenceFile)); }
public virtual bool FileExistsInProject(string path) { return(Project.ContainsFile(path)); }
private bool FileExistsInProject(string path) { return(Project.ContainsFile(path)); }