At this time, my .csproj files contain the XPath
/Project/PropertyGroup/VersionPrefix and that determines the version for the nuget packages.
However, I would prefer to read this version prefix from a shared file, as it will be common for 3 or 4 projects, each of whom have their own .csproj files.
In other words, instead of having
we would prefer to have something like
and this version.xml contains the line above which will be substituted.
I am sure there would be multiple ways to achieve this but cannot fathom exactly how. Help would be appreciated.