CompilerBase.

GetManifestResourceName(ResourceFileSet, string) Method

Summary

Determines the manifest resource name of the given resource file.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CompilerBase

Syntax

public string GetManifestResourceName(ResourceFileSet resources, string resourceFile)

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.

Parameters

Name Type Description
resources ResourceFileSet The NAnt.DotNet.Types.ResourceFileSet containing information that will used to assemble the manifest resource name.
resourceFile string The resource file of which the manifest resource name should be determined.

Return Value

Type Description
string The manifest resource name of the specified resource file.