/// <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));
 }
Beispiel #2
0
 public virtual bool FileExistsInProject(string path)
 {
     return(Project.ContainsFile(path));
 }
Beispiel #3
0
 private bool FileExistsInProject(string path)
 {
     return(Project.ContainsFile(path));
 }