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.AddFileFromItem Method

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

Adds a file reference to the manifest, based on the specified item.

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

protected internal FileReference AddFileFromItem(
	ITaskItem item
)

Parameters

item
Type: Microsoft.Build.Framework.ITaskItem

The item from which to create the file reference to add to the manifest.

Return Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileReference
The file reference that was added to the manifest.

.NET Framework

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