共用方式為


ResolveNativeReference task

Resolves native references. Implements the ResolveNativeReference class. This class supports the .NET Framework infrastructure, which is not intended to be used directly from your code.

Task parameters

The following table describes the parameters of the ResolveNativeReference task.

Parameter Description
AdditionalSearchPaths Required System.String[] parameter.

Gets or sets the search paths for resolving assembly identities of native references.
ContainedComComponents Optional ITaskItem[] output parameter.

Gets or sets the COM components of the native assembly.
ContainedLooseEtcFiles Optional ITaskItem[] output parameter.

Gets or sets the loose Etc files listed in the native manifest.
ContainedLooseTlbFiles Optional ITaskItem[] output parameter.

Gets or sets the loose .tlb files of the native assembly.
ContainedPrerequisiteAssemblies Optional ITaskItem[] output parameter.

Gets or sets the assemblies that must be present before the manifest can be used.
ContainedTypeLibraries Optional ITaskItem[] output parameter.

Gets or sets the type libraries of the native assembly.
ContainingReferenceFiles Optional ITaskItem[] output parameter.

Gets or sets the reference files.
NativeReferences Required ITaskItem[] parameter.

Gets or sets the Win32 native assembly references.

Remarks

In addition to the parameters listed above, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension base class.

See also