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