add support to octopack to allow a choice of which Version attribute to use
Currently octopack supports either msbuild override, AssemblyInformationalVersion, or AssemblyVersion and does so in a predefined way. It would be useful if this selection was customisable/controllable.
E.g. If AssemblyInformationalVersion (which supports string) does not conform to a valid Major.Minor.Patch.Build scheme I would like to specify either AssemblyFileVersion or AssemblyVersion.
I cannot specify the value of these to octopack via msbuild arguments because the version scheme itself is controlled/applied by a TFS pre-build script.
Jeff Pflum commented
+1 on adding an option to be able to use AssemblyFileVersion.
Caio Proiete commented
My suggestion is to allow for a parameter similar to like OctoPackUseAssemblyFileVersion switch. OctoPackPackageVersion would still take precedence over this switch but if a version wasn't specified.
I am at a client and for some reason there install system they use will not allow them to change the AssemblyVersion, only the AssemblyFileVersion.