Closed Sventric closed 7 years ago
For now this is an internal variable only but it should be possible to make it globally available. If so, it would be available after the UpdateAssembly task has completed.
We will look into this.
Published a patch for this issue.
You should now be able to use $(Assembly.FileVersion) and $(Assembly.AssemblyVersion) in subsequent tasks.
For now it requires you to specify major, minor, build and revision to get a correct value but working on this issue.
Pleas let me know how this works for you.
Variables are now output as intended.
Is it possible to use the generated $(Assembly.FileVersion) in another Task like the NuGet packager?