Open markjourdan opened 7 years ago
Hi Mark,
sorry for the late response. Some variables are still not properly expanded by the tf build environment. I can recommend to use the Variable Toolbox to work around this issue.
With this task you can create your own variables like $(My.Year)
, which you can then use in the AssemblyInfo task.
It can be found here: https://marketplace.visualstudio.com/items?itemName=jessehouwing.jessehouwing-vsts-variable-tasks
Hope that helps!
Sebastian
I'm trying to set the Copyright field to "Copyright © $(Year:yyyy)". It doesn't seem to parse the $(Year:yyyy).
Is there a way to have it parse the year on the Copyright field?
Environment:
Screenshots Build Setup
Build Output