I'm trying to set the Informational Version to the following:
$(Assembly.AssemblyVersionMajor).$(Assembly.AssemblyVersionMinor).$(Assembly.AssemblyVersionBuild)-$(Date:yyyyMMdd)$(Rev:r)
However this doesn't create the Informational Version properly. Is this a bug, or am I doing something wrong? This is the output log:
Task : Update Assembly Info
Description : Update assembly info of one or multiple projects
Version : 2.0.38
Author : Bool (by Sigma)
Help : Having Problems? Please create an issue on our Github and we will try to help you.
Parameter Value
Add Missing Attriutes True
Description Build: 7.3.2018547 - Commit: 80e1c652f1b7fd4c4635b8ff7af9a66cb7159b9e
Configuration release
Company Safran
Product Safran Scheduler
Copyright Copyright c Safran 2018
Trademark Safran
Culture
Informational Version $(current).$(current).$(current)-201805047
Com Visible
CLS Compliant
File Version .$(current).$(current).814
Assembly Version $(current).$(current).$(current).$(current)
Updating...
Input string was not in a correct format.
The idea is to create a string that will be my Nuget package version semver + prerelease string. The Informational Version is used by default in the Nuget Pack Task.
Hi,
I'm trying to set the Informational Version to the following: $(Assembly.AssemblyVersionMajor).$(Assembly.AssemblyVersionMinor).$(Assembly.AssemblyVersionBuild)-$(Date:yyyyMMdd)$(Rev:r)
However this doesn't create the Informational Version properly. Is this a bug, or am I doing something wrong? This is the output log:
The idea is to create a string that will be my Nuget package version semver + prerelease string. The Informational Version is used by default in the Nuget Pack Task.
Kind Regards Fredrik Dahlberg