What is the role of AssemblyFileVersionAttribute?

I do not know what the specific purpose of the AssemblyFileVersion attribute is. I know that AssemblyVersion is part of a strong name that is 4-pla (assembly name, assembly version, culture, public key token), but I have no idea how to use Assembly * File * Version correctly .

I am currently using the BuildVersionIncrement plugin in visual studio to increment the AssemblyVersion version number on each compilation, and I am currently in version 2.2.0.0 (I reset the revision when updating a minor version), but I am currently aligning AssemblyFileVersion with the main and minor revision so now 2.2

My question

What is the best practice for value of AssemblyFileVersion? What affects this attribute in version control? What if I no longer change the value while I release newer versions of my assembly with an updated AssemblyVersion?

Thank you in advance

+3
source share
1 answer

Build file version: This is the version number specified for the file, as in the file system. It is displayed in Windows Explorer. It was never used by the .NET environment or the runtime environment for links.
http://support.microsoft.com/kb/556041

+4
source

Source: https://habr.com/ru/post/1772259/


All Articles