Assembly version method suggestion #19
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cyro/CherryPick#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While not directly an issue in itself, your current way of using
Assembly.GetName().Version.ToString();
caused the AssemblyFileVersion to be parsed as 4 numbers instead of 3.You should consider using the Version string to set the assembly attributes.
Alternatively, a constant could be used to define the version across all required sections in cs too, as per the template.