.NET Versioning - klagan/learning GitHub Wiki

.net file version, assembly version, product version

What is a .dll?

this is a compiled object that offers functions for other objects to use.

What is an assembly?

An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. Assemblies take the form of executable (.exe) or dynamic link library (.dll) files, and are the building blocks of .NET applications.

A module is a logical collection of code within an Assembly. You can have multiple modules inside an Assembly, and each module can be written in different .NET languages (VS, as far as I'm aware, doesn't support creation of multi-module assemblies).

  • Assemblies contain modules.
  • Modules contain classes.
  • Classes contain functions. You can access assemblies, modules, classes, functions, properties, fields etc all via reflection at runtime.

What is a .net program?

A .NET program consists of one or more assemblies.

file version

version of an object like a .dll or .exe

assembly version

version of the assembly - (it's a .net thing)

product version

generally the version of the product that utilises the assemblies as an end user solution.

e.g.

product version is used to identify the version of the application you are using assembly version is used to identify the version of the assembly used by the product file version is used to identify the version of the file employed by the assembly

⚠️ **GitHub.com Fallback** ⚠️