Delen via


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.String

    The name of the resource file from which to create the C# manifest name.

  • rootNamespace
    Type: System.String

    The root namespace of the resource file, typically taken from the project file. May be nulla null reference (Nothing in Visual Basic).

  • dependentUponFileName
    Type: System.String

    The 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.Stream

    File 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

See Also

Reference

CreateCSharpManifestResourceName Class

Microsoft.Build.Tasks Namespace