Beispiel #1
0
        int GetUpdatedPackagesCount()
        {
            UpdatedNuGetPackagesInProject updatedPackages = GetUpdatedPackages();

            updatedPackages.RemoveUpdatedPackages(GetPackageReferences());

            return(updatedPackages.GetPackages().Count());
        }
        int GetUpdatedPackagesCount()
        {
            if (!packageReferencesRefreshed)
            {
                return(0);
            }

            UpdatedNuGetPackagesInProject updatedPackages = updatedPackagesInWorkspace.GetUpdatedPackages(project);

            updatedPackages.RemoveUpdatedPackages(GetPackageReferences());

            return(updatedPackages.GetPackages().Count());
        }