I've created a nuget package in C#.
I want to be able to read the version of the nuget package from within the code in the nuget package (when the code is deployed).
Kind of like this, but instead of the AssemblyVersion I want NugetPackageVersion.
Any clues?
NOTE This is not a duplicate of 'How to get nuget package version programmatically from a nuget feed?', as I want to get the package version from within the code contained within the nuget at runtime, when there is no package manager available.