<PackageReference Include="NLog" Version="6.0.6" />

NLog.LayoutRenderers.AssemblyVersionType

public enum AssemblyVersionType
Type of assembly version to retrieve.

Gets the assembly version.

File = 1

Gets the file version.

Gets the product version, extracted from the additional version information.