This documentation is archived and is not being maintained.

AssemblyIdentity.FromManagedAssembly Method

Obtains identity of the specified .NET assembly. File must be a .NET assembly. Returns null if identity could not be obtained.

Namespace: Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly: Microsoft.Build.Tasks (in microsoft.build.tasks.dll)

public static AssemblyIdentity FromManagedAssembly (
	string path
)
public static AssemblyIdentity FromManagedAssembly (
	String path
)
public static function FromManagedAssembly (
	path : String
) : AssemblyIdentity
Not applicable.

Parameters

path

The name of the file from which the identity is to be obtained.

Return Value

The assembly identity of the specified file.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: