Skip to content

When assembly-versioning-scheme is set to none, AssemblyInfoBulider should not emit AssemblyVersion attribute #964

@cortex93

Description

@cortex93

Would it be possible that GitVersionTask do not write AssemblyVersion when assembly-versioning-scheme is set to none.
Actually, it writes [assembly: AssemblyVersion("")] which is not valid. It is not possible to add it's own AssemblyVersion attribute either as it will conflict.

Having the AssemblyInfoBuilder build the assemblyfile with only one format string does not allow opt-in/opt-out of version attribute.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions