It is ready-to-go package for updating .Net core application's version automatically.
versionUp.Core is compatible with .net +5.0, package version MUST BE compatible with your .net version:
- if you are using
dotnet 7
, get VersionUp.Core7.*.*
- if you are using
dotnet 6
, get VersionUp.Core6.*.*
- if you are using
dotnet 5
, get VersionUp.Core5.*.*
- Get proper version of VersionUp.Core package from Nuget.
- All it's Done :) Now If you build your application the version will update automatticlly.
The valid schema for working with this module is as follows:
[Major].[Minor].[Date].[BuildNumber]
If your csproj
file doesn't have <version>
node when you build your application after installation, The VersionUp.Core will add a <version>1.0.0.0</version>
to the csproj file.
After that when you build project again, the [BuildNumber]
increment by 1 and the [Date]
will update too, [Date]
is combination of year
and DayOfYear
.
for exmaple 11 March 2022
is 70th day of the year, so:
<version>1.0.22070.1</version>