Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Version bump using Project file
Version bump using Project file

Version bump using Project file

chandrakanth

|
13 installs
| (0) | Free
Build Tools for Increment Minor and Major counter using csproj file
Get it free

Version bump using Project file


How to use it


  1. Setup a Reference variable in azure devops Build Pipeline. It will work as refernce key to change version in build.
  2. Get the Personal Access Token from Settings with Read and Write Permissions.
  3. Install Extension into your organization.
  4. Add Extension into Buidl Agent Job and select Path of csproj you want to get version and increment it.
  5. Use the variable name in Version Variable name field.
  6. Use your azure devops access token in Personal Access Token field.

How it works


  1. Every time build runs it will get the version tag value from csproj selected in the field.
  2. It compares against the value we have the variable we selected. a. If variable value is greter than or equal to value in csporj it will increment the patch version and save the value in Varible we selected. b. If Version value in the file is greter than varible value than it will use the file value and update the Variable value in build pipeline.

Where it will help


  1. If you want to increment the path version with 1 every time build runs.
  2. Major and Minor version are controlled by csproj file, if you made a bigger change and want to change minor and major version, you can change it in csproj file, It will detect and that value and use as version value and store for next path patch version.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft