I wanted today to display the application version in front of our builds, something I already did on the past but never with the VCS version.

In fact I used the same BUILD_VCS_NUMBER_ that I described here: Build multiple ClickOnce deployment packages using MSBuild and Team City

Go in the General Settings of your build and adapt as following:

[4097914182_2e086aabc1_o[1]](http://weblogs.asp.net/blogs/lkempe/4097914182_2e086aabc1_o1_2739253E.png)

When your software is built it will now display the version:

[4097158651_22d00c0ac1_o[1]](http://weblogs.asp.net/blogs/lkempe/4097158651_22d00c0ac1_o1_54AA1F34.png)