With Team Foundation Build 2010 it is easy to specify which version of files to get for the build. Unfortunately the build report will only show the default values, which is confusing if you want to use that information as a reference when managing your builds. But fortunately the new build process is very customizable so changing this behavior is quite straight-forward.
First go to the build definition and copy the build template:
Next download new build template, check it out and open it in the workflow designer. What we need to do to change the default behavior is to add a SetBuildProperties activity after the GetWorkspace step:
In this case we want to set the SourceGetVersion property to GetVersion:
Check in the build definition and start a new build, passing the desired version (any versionspec, label RC2 in this example):
The resulting build result will now show the correct information in the report.
Yesterday the release candidate for Visual Studio 2010 was released!
I've upgraded my development machine (Windows 7 x64) from beta 2 to RC and it was a breeze! That took the most time was uninstalling the beta 2 bits :-) Both Visual Studio and TFS installed without problems and the beta 2 instance of my TFS project collection was upgraded without any complaints. I know this is what is to be expected but it always makes me happy when things just work!
You can download the files from MSDN today if you have a subscription or wait a few hours until they arrive on the public MS download site.
Also look for Swedish Visual Studio 2010 content here: http://msdn.se/vs2010.