Skip to content
| Marketplace
Sign in
Visual Studio>Tools>VersionFormat
VersionFormat

VersionFormat

M Kalteren

|
226 installs
| (0) | Free
Updates the version in the csproj every build according to specified template. Add this to your .csproj: <VersionFormat>{yyyyMMdd}-{HHmmss}</VersionFormat> (Re)build and your version should look lik
Download

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft