CreateCSharpManifestResourceName.CreateManifestName Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns the C#-style manifest resource name that corresponds to the specified resource file.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Tasks
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Protected Overrides Function CreateManifestName ( _
fileName As String, _
linkFileName As String, _
rootNamespace As String, _
dependentUponFileName As String, _
binaryStream As Stream _
) As String
protected override string CreateManifestName(
string fileName,
string linkFileName,
string rootNamespace,
string dependentUponFileName,
Stream binaryStream
)
protected:
virtual String^ CreateManifestName(
String^ fileName,
String^ linkFileName,
String^ rootNamespace,
String^ dependentUponFileName,
Stream^ binaryStream
) override
abstract CreateManifestName :
fileName:string *
linkFileName:string *
rootNamespace:string *
dependentUponFileName:string *
binaryStream:Stream -> string
override CreateManifestName :
fileName:string *
linkFileName:string *
rootNamespace:string *
dependentUponFileName:string *
binaryStream:Stream -> string
protected override function CreateManifestName(
fileName : String,
linkFileName : String,
rootNamespace : String,
dependentUponFileName : String,
binaryStream : Stream
) : String
Parameters
fileName
Type: System.StringThe name of the resource file from which to create the C# manifest name.
linkFileName
Type: System.StringThe name of the link file.
rootNamespace
Type: System.StringThe root namespace of the resource file, typically taken from the project file. May be nulla null reference (Nothing in Visual Basic).
dependentUponFileName
Type: System.StringThe file name of the parent of the resource file (usually a .cs file). May be nulla null reference (Nothing in Visual Basic).
binaryStream
Type: System.IO.StreamFile contents binary stream. May be nulla null reference (Nothing in Visual Basic).
Return Value
Type: System.String
The manifest resource name that corresponds to the specified resource file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.