Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GenerateManifestBase.FindFileFromItem Method

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

Returns the manifest file reference that matches the specified item.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

protected internal FileReference FindFileFromItem(
	ITaskItem item
)

Parameters

item
Type: Microsoft.Build.Framework.ITaskItem

The item to get a file reference for.

Return Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
The manifest file reference that matches the specified item.

If the file reference does not exist in the manifest for the specified item, then this method adds a file reference for this item.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft