AssemblyReferenceBase Class

graph BT Type-->Base0["FileReferenceBase"] click Base0 "/api/NAnt.VSNet/FileReferenceBase" Base0-->Base1["ReferenceBase"] click Base1 "/api/NAnt.VSNet/ReferenceBase" Base1-->Base2["Object"] Type["AssemblyReferenceBase"] class Type type-node Derived0["ManagedAssemblyReference"]-->Type click Derived0 "/api/NAnt.VSNet/ManagedAssemblyReference" Derived1["VcAssemblyReference"]-->Type click Derived1 "/api/NAnt.VSNet/VcAssemblyReference"

Syntax

public abstract class AssemblyReferenceBase : FileReferenceBase

Constructors

Properties

Name Value Summary
CopyLocal bool
Gets a value indicating whether the output file(s) of this reference should be copied locally.
GacCache GacCache
Inherited from FileReferenceBase
IsPrivate bool
IsPrivateSpecified bool
IsSystem bool
Gets a value indicating whether this reference represents a system assembly.
Name string
Inherited from ReferenceBase
Parent ProjectBase
Gets the project in which the reference is defined.
Inherited from ReferenceBase
ReferencesResolver ReferencesResolver
Inherited from ReferenceBase
SolutionTask SolutionTask
Inherited from ReferenceBase
XmlDefinition XmlElement
Inherited from FileReferenceBase

Methods

Name Value Summary
CreateProjectReference(ProjectBase) ProjectReferenceBase
GetAssemblyOutputFiles(string, Hashtable) void
Gets the complete set of output files for the specified assembly and adds them to collection.
Inherited from FileReferenceBase
GetAssemblyReferences(Configuration) StringCollection
Gets the complete set of assemblies that need to be referenced when a project references this component.
GetFileTimestamp(string) DateTime
Returns the date and time the specified file was last written to.
Inherited from ReferenceBase
GetOutputFiles(Configuration, Hashtable) void
Gets the complete set of output files for the referenced project.
GetPrimaryOutputFile(Configuration) string
Gets the path of the reference, without taking the "copy local" setting into consideration.
GetRelatedFiles(string, Hashtable) void
Inherited from ReferenceBase
static
GetTimestamp(Configuration) DateTime
Gets the timestamp of the reference.
IsManaged(Configuration) bool
Gets a value indicating whether the reference is managed for the specified configuration.
Inherited from FileReferenceBase
Log(Level, string) void
Logs a message with the given priority.
Inherited from ReferenceBase
Log(Level, string, Object[]) void
Logs a message with the given priority.
Inherited from ReferenceBase
ResolveAssemblyReference() string
Resolves an assembly reference.
ResolveFromAssemblyFolders(XmlElement, string) string
ResolveFromFolderList(StringCollection, string) string
Searches for the given file in all paths in folderList.
ResolveFromFramework(string) string
Resolves an assembly reference in the framework assembly directory of the target framework.
ResolveFromRelativePath(string) string
Resolves an assembly reference using a path relative to the project directory.