Skip to content

Can I get the height during build? #987

Closed Answered by andersforsgren
andersforsgren asked this question in Q&A
Discussion options

You must be logged in to vote

Solution I'm using at the moment: parsing it from the SemVer. This solves the problem.

<Height>$([System.Text.RegularExpressions.Regex]::Match($(MinVerPreRelease), `\w+\.(\d+)$`).Groups[1].Captures)</Height>
<FileVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).$(Height)</FileVersion>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by adamralph
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants