Skip to content

'InformationalVersion' is not a member of type 'GitVersion.SemanticVersionFormatValues' #2103

@robertlarkins

Description

@robertlarkins

I have created a GitVersion.yml file that has the line

assembly-informational-format: '{InformationalVersion}'

but running GitVersion (in Azure Devops) produces the message:

Unable to format AssemblyInformationalVersion.  Check your format string: 'InformationalVersion' is not a member of type 'GitVersion.SemanticVersionFormatValues' (Parameter 'propertyOrFieldName')

InformationVersion is a property in SemanticVersionFormatValues but it doesn't seem to be found. Is this an expected message due to this line in GitVersion.yml being incorrect, or is this an issue that needs investigating?

This issue has also been asked about here: https://stackoverflow.com/questions/59919614/what-should-be-assembly-informational-format-be-set-to-in-gitversion-yml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions