Version attributes

  • Thread starter Thread starter Robert Scheer
  • Start date Start date
R

Robert Scheer

Hi.

I am confused about two version attributes found on the
Assemblyinfo.vb file. What are the differences between the
AssemblyVersion and AssemblyFileVersion attributes? When should I
change one or another? I read the docs but it is still not clear to
me.

Regards,
Robert Scheer
 
AssemblyVersion is the key for the .NET runtime to load/bind the right
assembly when required. For example if your application was built with
assembly version 1.2.0.0 of say a.dll then the .NET runtime needs this exact
version (unless a publisher policy exists to change this) of a.dll when your
app is run.

AssemblyFileVersion simply specifies the Win32 file version - the one you
see in the Properties dialog from Windows Explorer.
 
Back
Top