Set VersionPrefix/Suffix if normal Version/AssemblyVersion not found by seangwright · Pull Request #5 · conficient/versionReaderTask
I updated the script to return early if the <Version> or <AssemblyVersion> property values are found as <VersionPrefix>/<VersionSuffix> are not used in that scenario.
Only if <Version>, <AssemblyVerison> and <VersionPrefix> are missing does the task throw an error.
I also edited this in vscode which did some auto-formatting with the Powershell extension installed (hence the open braces on the same line as the function/expression).
This is to solve #4