Cronos icon indicating copy to clipboard operation
Cronos copied to clipboard

Cronos v0.11 nuget binary has no AssemblyVersion set

Open Mindaugas-Baltakis opened this issue 5 months ago • 1 comments

When trying to get v0.11.0 Cronos binary Assembly version it returns 0.0.0.0, previous versions worked fine.

v0.11.0:


Major  Minor  Build  Revision
-----  -----  -----  --------
0      0      0      0

v0.10.0:

Major  Minor  Build  Revision
-----  -----  -----  --------
0      10     0      0

I assume changes here caused the issue:

https://github.com/HangfireIO/Cronos/commit/62be8e81cf8e6bd9a4e82eb07b5a8c1f8bff2a7c#diff-9da24614831c308827a1ae533ffea392c97638c261dd42bd0f5226baa136d16eR22

Mindaugas-Baltakis avatar Jul 23 '25 12:07 Mindaugas-Baltakis

Do you have any problems caused by this behavior? Now the AssemblyVersion follows recommendation related to strong naming-based conventions, and the version will have the following behavior:

  • Any 0.X.Y versions will have AssemblyVersion set to 0.0.0.0.
  • Any 1.X.Y versions will have it set to 1.0.0.0
  • Any 2.X.Y versions will have it set to 2.0.0.0.

Other metadata is set accordingly, please see below:

Image

However, if there are any problems with that, I can include minor versions for versions before 1.0.0, so it would have:

  • For any version 0.11.X it will be 0.11.0.0
  • Any version 0.12.X it will be 0.12.0.0
  • For any version higher than 1.0.0, the rules above will be applied.

odinserj avatar Sep 24 '25 08:09 odinserj