NuGet packages have version numbers. When you use OctoPack, the NuGet package version number will come from (in order of priority):
- The command line, if you pass /p:OctoPackPackageVersion= as an MSBuild parameter when building your project.
- If the [assembly: FileVersion] is the same as the assembly: AssemblyInformationalVersion, then we’ll use the [assembly: AssemblyVersion] attribute in your AssemblyInfo.cs file
- Otherwise we take the [assembly: AssemblyInformationalVersion].