private static PackageArchiveReader GetArchiveReader(this NuGetPackage pkg, FolderNuGetProject project) { var pkgPath = pkg.GetPackageFilePath(project)?.FullPath; if (pkgPath == null) { return(null); } return(new PackageArchiveReader(pkgPath, null, null)); }