Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2.75 KB

resolvenativereference-task.md

File metadata and controls

46 lines (38 loc) · 2.75 KB
title description ms.date ms.topic f1_keywords dev_langs helpviewer_keywords author ms.author manager ms.subservice
ResolveNativeReference Task
Learn how MSBuild uses the ResolveNativeReference task to resolve native references by implementing the Microsoft.Build.Tasks.ResolveNativeReference class.
11/04/2016
reference
VB
CSharp
C++
MSBuild, ResolveNativeReference task
ResolveNativeReference task [MSBuild]
ghogen
ghogen
mijacobs
msbuild

ResolveNativeReference task

Resolves native references. Implements the xref:Microsoft.Build.Tasks.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 xref:System.String?displayProperty=fullName[] parameter.

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

Gets or sets the COM components of the native assembly.
ContainedLooseEtcFiles Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.

Gets or sets the loose Etc files listed in the native manifest.
ContainedLooseTlbFiles Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.

Gets or sets the loose .tlb files of the native assembly.
ContainedPrerequisiteAssemblies Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.

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

Gets or sets the type libraries of the native assembly.
ContainingReferenceFiles Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.

Gets or sets the reference files.
NativeReferences Required xref:Microsoft.Build.Framework.ITaskItem[] parameter.

Gets or sets the Win32 native assembly references.

Remarks

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

See also