| title | CreateVisualBasicManifestResourceName Task | |||
|---|---|---|---|---|
| description | Use the MSBuild CreateVisualBasicManifestResourceName task to create a Visual Basic-style manifest name from a given .resx file name or other resource. | |||
| ms.date | 11/04/2016 | |||
| ms.topic | reference | |||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| author | ghogen | |||
| ms.author | ghogen | |||
| ms.subservice | msbuild |
Creates a Visual Basic-style manifest name from a given .resx file name or other resource.
The following table describes the parameters of the CreateVisualBasicManifestResourceName task.
| Parameter | Description |
|---|---|
ManifestResourceNames |
xref:Microsoft.Build.Framework.ITaskItem [] output read-only parameter.The resulting manifest names. |
ResourceFiles |
Required String parameter.The name of the resource file from which to create the Visual Basic manifest name. |
RootNamespace |
Optional String parameter.The root namespace of the resource file, typically taken from the project file. May be null. |
PrependCultureAsDirectory |
Optional Boolean parameter.If true, the culture name is added as a directory name just before the manifest resource name. Default value is true. |
ResourceFilesWithManifestResourceNames |
Optional read-only String output parameter.Returns the name of the resource file that now includes the manifest resource name. |
The CreateVisualBasicManifestResourceName task determines the appropriate manifest resource name to assign to a given .resx or other resource file. The task provides a logical name to a resource file, and then attaches it to an output parameter as metadata.
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.