Quantcast
Channel: What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion? - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by KCD for What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

$
0
0

To keep this question current it is worth highlighting that AssemblyInformationalVersion is used by NuGet and reflects the package version including any pre-release suffix.

For example an AssemblyVersion of 1.0.3.* packaged with the asp.net core dotnet-cli

dotnet pack --version-suffix ci-7 src/MyProject

Produces a package with version 1.0.3-ci-7 which you can inspect with reflection using:

CustomAttributeExtensions.GetCustomAttribute<AssemblyInformationalVersionAttribute>(asm);

Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>