Skip to content

Align nuget package version and dll versions #109012

Answered by huoyaoyuan
ReneLombard asked this question in General
Discussion options

You must be logged in to vote

The current situation is already the best effort. The version numbers are used by different subsystems with conflicting rules.

to add more confusion to the mix in windows assembly versions are mapped to different fields,

Assembly version vs. Assembly File Version vs. File Version vs. Product version

To get less confusing:

Assembly version is a specialized terminology. It's used by the CLR loader and has strong compatibility requirement.
File Version is [AssemblyFileVersion] and Product Version is [AssemblyInformationalVersion]. These two attributes are direct mapping of Win32 resource. The former is numeric and the latter is string. [AssemblyInformationalVersion] a.k.a. Product Versio…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ReneLombard
Comment options

@huoyaoyuan
Comment options

Answer selected by ReneLombard
@ReneLombard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants