BoolBySigma / UpdateAssemblyInfo

SORRY THIS IS NO LONGER MAINTAINED
10 stars 9 forks source link

Passing $(Assembly.FileVersion) into the NuGet packager #1

Closed Sventric closed 7 years ago

Sventric commented 7 years ago

Is it possible to use the generated $(Assembly.FileVersion) in another Task like the NuGet packager?

ghost commented 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.

ghost commented 7 years ago

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.

ghost commented 7 years ago

Variables are now output as intended.