PackageReferenceResolver Class

This is used to resolved package references (PackageReference elements) in MSBuild project files

Definition

Namespace: SandcastleBuilder.Utils.MSBuild
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.2.18.0
public class PackageReferenceResolver
Inheritance
Object    PackageReferenceResolver

Remarks

Package references are handled by the NuGet MSBuild targets. Trying to figure out how they work would be quite difficult as would trying to plug them into the reflection data generation project. However, those tasks create an asset file that contains all of the information we need so we use it to figure out the reference assembly locations along with any dependencies.

Constructors

Properties

ReferenceAssemblies This returns a list of all resolved package reference assemblies along with all dependency assembly references.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LoadPackageReferenceInfo This is used to load the package reference information from the given project
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also