示例#1
0
        public static PackageSpec ToPackageSpec(this PackageManifest manifest) //, NuGet.Frameworks.NuGetFramework framework)
        {
            var spec = manifest.Adapt <PackageSpec>();

            //spec.Framework = framework;

            return(spec);
        }
示例#2
0
 public static XmlPackageManifest ToXmlPackageManifest(this PackageManifest packageManifest)
 {
     return(packageManifest.Adapt <XmlPackageManifest>());
 }