I am using personal nuget server. I want to automate package version number. Currently I am using version number by writing following on assemblyInfo
It generates random version number of my package.
Some times newly created version number is less than the previous one.
In this case i want to do something which always increase the version number by checking my local repository.
So how i can achieve this or
How i can get latest version number by package name from C# code.
Need your help.