Fix FileVersion format to use two-digit year and day of year#3389
Merged
thejaswinic merged 1 commit intodevfrom Jan 6, 2026
Merged
Fix FileVersion format to use two-digit year and day of year#3389thejaswinic merged 1 commit intodevfrom
thejaswinic merged 1 commit intodevfrom
Conversation
pmaytak
approved these changes
Jan 6, 2026
RojaEnnam
approved these changes
Jan 6, 2026
saurabhsathe-ms
approved these changes
Jan 6, 2026
14 tasks
25 tasks
This was referenced Feb 13, 2026
Closed
Merged
This was referenced Mar 26, 2026
Closed
avinashmenon123
approved these changes
Mar 31, 2026
This was referenced Mar 31, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix FileVersion format to use two-digit year and day of year
Summary
The FileVersion assembly attribute generates a revision number that exceeds the 16-bit unsigned integer limit (65,535).
Description
Root Cause
The FileVersion assembly attribute generates a revision number that exceeds the 16-bit unsigned integer limit (65,535).
Current Format: {Version}.{YearsSince2019}{MMdd}
Example for Jan 5, 2026: 8.12.1.70105
Major: 8
Minor: 12
Build: 1
Revision: 70105 (7 for year + 0105 for date)
The Issue:
.NET assembly version components must be ≤ 65,535
Starting January 1, 2026 (year 7 since 2019), the revision number exceeds this limit
Any date in 2026 produces: 70001 to 71231 (all > 65,535)
Fix:
Use YYDDD (Day of Year)
Format: {YY}{DDD} where DDD is day of year (001-366)
Example Jan 5, 2026: 8.12.1.26005
Range: 26001 to 26366
Valid until: 2029 (year 10 would create 100XX
Fixes #{Bug 3481482} (https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3481482)