Compartilhar via


AssemblyIdentity.FromAssemblyName Method

Parses string to obtain an assembly identity. Returns null if identity could not be obtained.

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.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Shared Function FromAssemblyName ( _
    assemblyName As String _
) As AssemblyIdentity
public static AssemblyIdentity FromAssemblyName(
    string assemblyName
)
public:
static AssemblyIdentity^ FromAssemblyName(
    String^ assemblyName
)
static member FromAssemblyName : 
        assemblyName:string -> AssemblyIdentity
public static function FromAssemblyName(
    assemblyName : String
) : AssemblyIdentity

Parameters

  • assemblyName
    Type: System.String

    The full name of the assembly, also known as the display name.

Return Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity
The resulting assembly identity.

.NET Framework Security

See Also

Reference

AssemblyIdentity Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace