Looks like I forgot to post the updated version of my TFS Build Number Task for VS/TFS 2012. Let me rectify that by pointing you to the updated version here: https://training.atmosera.com/cs/files/folders/21032/download.aspx.
If you’re wondering what this is about, here’s the history of how I created the task and how to integrated it into your build:
TFS 2010 Build Number and Assembly File Versions: Completely In Sync with Only MSBuild 4.0
TFS 2010 Build Numbers & File Versions from Inside Your C# and C++ Projects
More on TFS 2010 Build Numbers Inside Your Projects
Please do let me know if you have any questions or comments!