Export (0) Print
Expand All

AssemblyIdentity.FromNativeAssembly Method

Obtains identity of the specified native assembly. File must be either a PE with an embedded XML manifest, or a stand-alone XML manifest file. 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 FromNativeAssembly (
	string path
)
public static AssemblyIdentity FromNativeAssembly (
	String path
)
public static function FromNativeAssembly (
	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

Community Additions

ADD
Show:
© 2015 Microsoft