ResolveAssemblyReference Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Implements the ResolveAssemblyReference task. Use the ResolveAssemblyReference element in your project file to create and execute this task. For usage and parameter information, see ResolveAssemblyReference Task.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.Build.Tasks.TaskExtension
      Microsoft.Build.Tasks.ResolveAssemblyReference

public class ResolveAssemblyReference : TaskExtension

NameDescription
System_CAPS_pubmethodResolveAssemblyReference()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the ResolveAssemblyReference class.

NameDescription
System_CAPS_pubpropertyAllowedAssemblyExtensions

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the assembly extensions that will be considered during references resolution.

System_CAPS_pubpropertyAllowedRelatedFileExtensions

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the extensions that will be considered when searching for related files.

System_CAPS_pubpropertyAppConfigFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the App.Config file path.

System_CAPS_pubpropertyAssemblies

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the assembly names to resolve into full paths and to find dependencies for.

System_CAPS_pubpropertyAssemblyFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a list of fully qualified assembly paths to find dependencies for.

System_CAPS_pubpropertyAutoUnify

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether the resulting dependency graph is automatically treated as if there were an App.Config file passed in to the AppConfigFile property.

System_CAPS_pubpropertyBuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

Gets the instance of the IBuildEngine2 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

Gets the instance of the IBuildEngine3 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

Gets the instance of the IBuildEngine4 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyCandidateAssemblyFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a list of assemblies, which must be absolute file names or project-relative file names, to use for the search and resolution process.

System_CAPS_pubpropertyCopyLocalDependenciesWhenParentReferenceInGac

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a switch that determines how dependencies are determined, and whether or not a dependency is copied locally.

System_CAPS_pubpropertyCopyLocalFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Returns all files in the ResolvedFiles, ResolvedDependencyFiles, RelatedFiles, SatelliteFiles, and ResolveAssemblyReference properties that have the CopyLocal item metadata with a value of true.

System_CAPS_pubpropertyFilesWritten

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the items written to disk.

System_CAPS_pubpropertyFindDependencies

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether dependencies will be found (true) or only primary references will be found (false).

System_CAPS_pubpropertyFindRelatedFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether related files such as .pdb files and .xml files will be found.

System_CAPS_pubpropertyFindSatellites

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether satellite assemblies will be found.

System_CAPS_pubpropertyFindSerializationAssemblies

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether the serialization assemblies will be found.

System_CAPS_pubpropertyFullFrameworkAssemblyTables

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a list of items representing XML files that contain the full framework for the profile.

System_CAPS_pubpropertyFullFrameworkFolders

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a list of folders which contain a RedistList directory which represent the full framework for a given client profile, for example:%programfiles%\reference assemblies\microsoft\framework\v4.0

System_CAPS_pubpropertyFullTargetFrameworkSubsetNames

This API supports the product infrastructure and is not intended to be used directly from your code. A string that contains the names of the subsets of the specified target framework.

System_CAPS_protpropertyHelpKeywordPrefix

Gets or sets the prefix used to compose Help keywords from resource names.(Inherited from Task.)

System_CAPS_pubpropertyHostObject

Gets or sets the host object associated with the task.(Inherited from Task.)

System_CAPS_pubpropertyIgnoreDefaultInstalledAssemblySubsetTables

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether the task should look for and use additional installed assembly subset tables (also known as Subset Lists), which are found in the SubsetList directory under the provided TargetFrameworkDirectories.

System_CAPS_pubpropertyIgnoreDefaultInstalledAssemblyTables

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether the ResolveAssemblyReference task should ignore additional installed assembly tables found in the RedistList directory underneath the provided TargetFrameworkDirectories (true) or should search for and use these installed assembly tables (false).

System_CAPS_pubpropertyIgnoreTargetFrameworkAttributeVersionMismatch

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a flag indicating whether to ignore the framework attribute when checking if an assembly is compatible with the targeted framework.

System_CAPS_pubpropertyIgnoreVersionForFrameworkReferences

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a flag indicating whether to ignore the version information on the framework assembly and actually resolve the framework assembly from the currently targeted framework. Flag applies if the primary reference is a framework assembly.

System_CAPS_pubpropertyInstalledAssemblySubsetTables

This API supports the product infrastructure and is not intended to be used directly from your code. An ITaskItem that represents a list of XML files that contain assemblies that are expected to be in the target subset.

System_CAPS_pubpropertyInstalledAssemblyTables

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a list of XML files that contain assemblies that are expected to be installed on the target machine.

System_CAPS_pubpropertyLatestTargetFrameworkDirectories

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the list of directories which contain the redist lists for the most current framework which can be targeted on the machine.

System_CAPS_pubpropertyLog

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an instance of a TaskLoggingHelperExtension containing task logging methods.(Inherited from TaskExtension.)

System_CAPS_pubpropertyProfileName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the target framework profile we are targeting, for example Client, Web, or Network

System_CAPS_pubpropertyRelatedFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets related files, such as .xml and .pdb files with the same base name as a reference.

System_CAPS_pubpropertyResolvedDependencyFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the nth order paths to dependencies.

System_CAPS_pubpropertyResolvedFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a list of all primary references resolved to full paths.

System_CAPS_pubpropertyResolvedSDKReferences

This API supports the product infrastructure and is not intended to be used directly from your code. A list of resolved SDK references which contain the sdk name, sdk location and the targeted configuration.

These locations will only be searched if the reference has the SDKName metadata attached to it.

System_CAPS_pubpropertySatelliteFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets any satellite files found.

System_CAPS_pubpropertyScatterFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the scatter files associated with one of the given assemblies.

System_CAPS_pubpropertySearchPaths

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the directories or special locations that are searched to find the files on disk that represent the assemblies.

System_CAPS_pubpropertySerializationAssemblyFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the serialization assemblies.

System_CAPS_pubpropertySilent

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a Boolean value that specifies whether no messages are logged.

System_CAPS_pubpropertyStateFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a file name that indicates where to save the intermediate build state for this task.

System_CAPS_pubpropertySuggestedRedirects

This API supports the product infrastructure and is not intended to be used directly from your code. Gets one item for every distinct conflicting assembly identity, regardless of the value of the AutoUnify property.

System_CAPS_pubpropertyTargetedRuntimeVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the runtime we are targeting, for example, 2.0.57027.

System_CAPS_pubpropertyTargetFrameworkDirectories

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the path to the target framework directory.

System_CAPS_pubpropertyTargetFrameworkMoniker

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the target framework moniker being targeted, if any.

System_CAPS_pubpropertyTargetFrameworkMonikerDisplayName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the display name of the target framework moniker being targeted, if any.

System_CAPS_pubpropertyTargetFrameworkSubsets

This API supports the product infrastructure and is not intended to be used directly from your code. A list of target framework subset names that will be searched for in the target framework directories.

System_CAPS_pubpropertyTargetFrameworkVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the project target framework version used for reference filtering.

System_CAPS_pubpropertyTargetProcessorArchitecture

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the preferred target processor architecture used for resolving Global Assembly Cache (GAC) references, which can have a value of x86, IA64, or AMD64.

System_CAPS_protpropertyTaskResources

Gets or sets the culture-specific resources associated with the task.(Inherited from Task.)

System_CAPS_pubpropertyWarnOrErrorOnTargetArchitectureMismatch

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a string value specifying the behavior when a mismatch between the target processor architecture and the architecture of a primary reference. When this is “Error”, an error will be logged for a mismatch. When this is “Warning”, a warning will be logged for a mismatch. When this is “None”, no error or warning will be logged for a mismatch.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExecute()

This API supports the product infrastructure and is not intended to be used directly from your code. Executes the ResolveAssemblyReference task.(Overrides Task.Execute().)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: