I’m often asked about how to implement the assembly versioning during build. Back in the days, we had special build workflow activities to do so. Since TFS is supporting PowerShell scripts for pre and post build actions, we can easily implement the assembly versioning with PowerShell. This works without any modification of the build process. There are many different sample implementations available on the internet. Here I’ll present you my script.

The PowerShell Script will...