public LibraryInformation(LibraryDescription description) { Name = description.Identity.Name; Path = description.Path; Type = description.Type; Dependencies = description.Dependencies.Select(d => d.Name); }
public LibraryInformation(LibraryDescription description) { Name = description.Identity.Name; Version = description.Identity.Version?.ToString(); Path = description.Path; Type = description.Type; Dependencies = description.Dependencies.Select(d => d.Name); LoadableAssemblies = description.LoadableAssemblies.Select(a => new AssemblyName(a)); }
public PublishProject( ProjectReferenceDependencyProvider projectReferenceDependencyProvider, IProjectResolver projectResolver, LibraryDescription libraryDescription) { _projectReferenceDependencyProvider = projectReferenceDependencyProvider; _projectResolver = projectResolver; _libraryDescription = libraryDescription; }
public PackPackage(NuGetDependencyResolver nugetDependencyResolver, LibraryDescription libraryDescription) { _nugetDependencyResolver = nugetDependencyResolver; _libraryDescription = libraryDescription; }
private static LibraryDependency CreateDependency(LibraryDescription libraryDescription) { return new LibraryDependency { LibraryRange = new LibraryRange { Name = libraryDescription.Identity.Name, IsGacOrFrameworkReference = libraryDescription.Identity.IsGacOrFrameworkReference, VersionRange = new SemanticVersionRange(libraryDescription.Identity.Version) } }; }
public PublishPackage(LibraryDescription libraryDescription) { _libraryDescription = libraryDescription; }
public BundlePackage(LibraryDescription libraryDescription) { _libraryDescription = libraryDescription; }