Skip to content

A custom vNext build task to perform automatic Assembly Versioning in Visual Studio Team Services (former Visual Studio Online) or Team Foundation Server 2015

Notifications You must be signed in to change notification settings

riserrad/VSTS-Assembly-Versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Versioning for Build vNext

This is a custom vNext build task to perform automatic Assembly Versioning in Visual Studio Team Services (aka Visual Studio Online) or Team Foundation Server 2015.

It basically lists all the AssemblyInfo files in your source folder and then edit each one of them to replace the two attributes values, from AssemblyInfo and AssemblyFileInfo, with the one built by this task.

How does this task build the version number?

The task asks for two of the four numbers (to know more about assembly versioning, please refer to this link), the Major and the Minor numbers:

alt text

The Build number is the Julian Day.

The Revision number is the sequential number of the build in the day.

Important: If you are using this build task, please keep the Build number format, defined in General settings, as is. Otherwise, the build will not be able to detect the revision number. See below:

alt text

About

A custom vNext build task to perform automatic Assembly Versioning in Visual Studio Team Services (former Visual Studio Online) or Team Foundation Server 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published