Task <NuGetVersion> GetLatestPackageVersion(string packageId, CancellationToken cancellationToken)
 {
     return(packageManager.GetLatestVersionAsync(
                packageId,
                project,
                CreateResolutionContext(includeUnlisted: false),
                primarySources,
                new ProjectContextLogger(context),
                cancellationToken));
 }