In my .net project, having assemblyinfo.cs file contains version as "6.22.3.00151", when I create the package using NuGet (I am using nuget cli) the final package created with version "6.22.3.151" leading 2 0's are eliminated. How can I make a nuget package with same version as of assembly?
Also I observe that though my assemblyinfo.cs contains below information for AssemblyFileVersion,
[assembly: AssemblyVersion("6.11.0.00152")] [assembly: AssemblyFileVersion("6.11.0.00152")]
So even though AssemblyFileVersion is having 00152 why its showing only 152. What should I do so that it looks 00152?