Sdílet prostřednictvím


GenerateManifestBase.AddAssemblyFromItem(ITaskItem) Method

Definition

Adds an assembly reference to the manifest, based on the specified item.

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

protected public:
 Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyReference ^ AddAssemblyFromItem(Microsoft::Build::Framework::ITaskItem ^ item);
protected internal Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference AddAssemblyFromItem (Microsoft.Build.Framework.ITaskItem item);
member this.AddAssemblyFromItem : Microsoft.Build.Framework.ITaskItem -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Protected Friend Function AddAssemblyFromItem (item As ITaskItem) As AssemblyReference

Parameters

item
ITaskItem

The item from which to create an assembly reference to add to the manifest.

Returns

The assembly reference that was added to the manifest.

Applies to