protected void ReadManifest(Stream manifestStream)
{
IPackageMetadata metadata = Manifest.ReadFrom(manifestStream, false).Metadata;
this.Id = metadata.Id;
this.Version = metadata.Version;
this.Title = metadata.Title;
this.Authors = metadata.Authors;
this.Owners = metadata.Owners;
this.IconUrl = metadata.IconUrl;
this.LicenseUrl = metadata.LicenseUrl;
this.ProjectUrl = metadata.ProjectUrl;
this.RequireLicenseAcceptance = metadata.RequireLicenseAcceptance;
this.DevelopmentDependency = metadata.DevelopmentDependency;
this.Description = metadata.Description;
this.Summary = metadata.Summary;
this.ReleaseNotes = metadata.ReleaseNotes;
this.Language = metadata.Language;
this.Tags = metadata.Tags;
this.DependencySets = metadata.DependencySets;
this.FrameworkAssemblies = metadata.FrameworkAssemblies;
this.Copyright = metadata.Copyright;
this.PackageAssemblyReferences = metadata.PackageAssemblyReferences;
this.MinClientVersion = metadata.MinClientVersion;
if (!string.IsNullOrEmpty(this.Tags))
{
this.Tags = " " + this.Tags + " ";
}
}