Updates the version in the csproj every build according to specified template. Add this to your .csproj: {yyyyMMdd}-{HHmmss} (Re)build and your version should look like this: 20230511-093256 Anything you put between {brackets} will be formatted with the DateTime.ToString(string format) method. More about that here: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tostring?view=net-7.0#system-datetime-tostring(system-string) Code is open source: https://github.com/mmartijnNL/VersionFormat |