Skip to content

Use 'const string' in GitVersionInformation.cs #1376

@mgnslndh

Description

@mgnslndh

How about using a const string instead of a static string in the generated GitVersionInformation.cs? This would make it possible to use the values in attributes such as

[assembly: AssemblyConfiguration(GitVersionInformation.PreReleaseLabel)]

https://github.com/GitTools/GitVersion/blob/master/src/GitVersionCore/GitVersionInformationResources/AddFormats/GitVersionInformation.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions