Do you keep the assembly and file version the same by default?

Last updated by Igor Goldobin 16 days ago.See history

This rule has been archived
Archived Reason: outdated

For the purpose of consistency, version numbers should be the same there are few exceptions. One exception is for backward compilation: if you have other .dll files depend on the assembly, changing Assembly Version will break these dependencies and then cause a crash in your application.

So you can keep the Assembly Version unchanged and increase the File Version when you release new build. It is easy to maintain the version numbers in VS.NET. For more information on versioning see semantic versioning rule.

Figure: Version numbers for assembly and file

We open source. Powered by GitHub