Hi Team,
We are using Visual studio 2017 and .net Framework to build our application , recently we faced an issue with our versioning where we were not albe to build the code using incremental change sets. This issue was caused because version number range in .net framewok is limited to a maximum value of 65535.
-
First we commented the below assembley version and assembley file version and we were able to build but we were not able to push our build package to octopus.
-
Then we editied the versioning scheme in our Shared Assembley.cs file from
[assembly: AssemblyVersion(“1.0.0.0”)]
[assembly: AssemblyFileVersion(“1.0.0.0”)]
to
[assembly: AssembleyVersion(“1.0.*”)]
[assembly: AssemblyFileVersion(“1.0.2023.1”)]
And we were able to build but it is not pushing the code to Octopus, could you please help us on this.
Note : Old versions of build numbers are being pushed to octopus but new version are not getting pushed. Change set numbers greater than 65500 are not getting pushed.