NAnt SDK Documentation - v0.92 |

# CompilerBase.GetManifestResourceName Method (ResourceFileSet, String)

Determines the manifest resource name of the given resource file.

[Visual Basic]
Overloads Public Function GetManifestResourceName( _
ByVal resources As ResourceFileSet, _
ByVal resourceFile As String _
) As String
[C#]
public string GetManifestResourceName(
ResourceFileSet resources,
string resourceFile
);

#### Parameters

resources
  The ResourceFileSet containing information that will used to assemble the manifest resource name.
resourceFile
  The resource file of which the manifest resource name should be determined.

#### Return Value

The manifest resource name of the specified resource file.

#### Remarks

For .resx resources, the name of the dependent is determined by replacing the extension of the file with the extension of the source files for the compiler, and removing the culture name from the file name for localized resources.

#### See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace | CompilerBase.GetManifestResourceName Overload List