Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.74 KB

File metadata and controls

46 lines (37 loc) · 2.74 KB
title ResolveNativeReference Task
description Learn how MSBuild uses the ResolveNativeReference task to resolve native references by implementing the Microsoft.Build.Tasks.ResolveNativeReference class.
ms.date 11/04/2016
ms.topic reference
f1_keywords
dev_langs
VB
CSharp
C++
helpviewer_keywords
MSBuild, ResolveNativeReference task
ResolveNativeReference task [MSBuild]
author ghogen
ms.author ghogen
ms.subservice 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