Skip to content

AssemblyVersion default value set by MinVer #856

Answered by adamralph
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It's in the documentation. Please see Version numbers:

Those properties are used to set the following .NET SDK properties, satisfying the official open-source library guidance for version numbers:

Property Value
AssemblyVersion {MinVerMajor}.0.0.0
FileVersion {MinVerMajor}.{MinVerMinor}.{MinVerPatch}.0
PackageVersion {MinVerVersion}
Version {MinVerVersion}

And following that link:

✔️ CONSIDER only including a major version in the AssemblyVersion.

e.g. Library 1.0 and Library 1.0.1 both have an AssemblyVersion of 1.0.0.0, while Library 2.0 has AssemblyVersion of 2.0.0.0. When the assembly version changes less often, it reduces binding redirects.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by adamralph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant