AssemblyFunctions.

GetInformationalVersion(Assembly) Method

Summary

Gets the value of the System.Reflection.AssemblyInformationalVersionAttribute for the specified assembly.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
AssemblyFunctions

Syntax

[Function("get-informational-version")]
public static string GetInformationalVersion(Assembly assembly)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
assembly Assembly The assembly to get an System.Reflection.AssemblyInformationalVersionAttribute for.

Return Value

Type Description
string The InformationalVersion from the System.Reflection.AssemblyInformationalVersionAttribute.