JetBrains / JetBrains.Annotations

Annotations to increase the accuracy of JetBrains ReSharper/Rider code inspections
https://www.jetbrains.com/help/resharper/Code_Analysis__Code_Annotations.html
MIT License
31 stars 18 forks source link

Wrong version number #6

Closed RichardD2 closed 2 years ago

RichardD2 commented 2 years ago

The 2022.1.0.0 version of the package has an assembly version number of 4242.42.42.42!

This was changed in commit ed5f6e4 from 10th November.

RichardD2 commented 2 years ago

As discussed on the ReSharper community forum, this was a deliberate decision.

Since version 2021.1 we started providing binary compatibility of the JetBrains.Annotations package. This requires assembly version to be fixed - we "increased" it to 4242.42.42.42 and will not change it going forward, only informative/assembly file/package versions will be incremented. Binary compatibility solves versioning issues for our customers - depending on multiple libraries each referencing different JetBrains.Annotations package versions sometimes was problematic.