共用方式為


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 [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

Concepts

MSBuild Tasks

Other Resources

MSBuild Task Reference