I'm trying to generate a NuGet package from a Android Library project. It seems NuGet doesn't respect/read the information in the AssemblyInfo.cs file for the Xamarin Android Library Project. The generated DLLs will contain the expected information (version number, author, assembly name, etc).
Doing a nuget pack without specifying the version number will always create a package with version 1.0. This 1.0 must be coming from somewhere.
In order to version my Android Library packages I need to do the following for NuGet.
nuget pack -Version x.x.x.x
Where x.x.x.x is the version numbering that I have to keep track of myself. I'd like to be using the automatic version numbering in AssemblyInfo.cs
I've searched the forums and found references to version numbering in Xamarin.Android application projects, and using the app manifest file. There is no manifest file in the library project, or its generated files that I can find.
I'd really like one central place to set the version number for my Android Library and have MSBuild, NuGet, and any other tools respect the version without manual intervention.
Does anyone have experience with better way of doing this?