Creating Nuget package from AssemblyInfo
<p>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?</p>

<p>Also I observe that though my assemblyinfo.cs contains below information for AssemblyFileVersion,</p>

<p>[assembly: AssemblyVersion("6.11.0.00152")]
[assembly: AssemblyFileVersion("6.11.0.00152")]</p>

<p>after compilation I can see <a href="https://i.stack.imgur.com/4bzsc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4bzsc.png" alt="enter image description here"></a></p>

<p>So even though AssemblyFileVersion is having 00152 why its showing only 152. What should I do so that it looks 00152?</p>