I use scripting for this:
\"%ProgramFiles%\\Microsoft Visual Studio 9.0\\Common7\\IDE\\TF.exe\" get $/DmlOnDemmand /recursive /force /noprompt
And I
I inserted a Test-Project in the Solution.
Every build a library the test depends on is changed the solution updates the Test-Project. The Test is automaticaly run after each "Test-Project" change with the Post-Build option.
The result from the Test is directly shown in the buildlog.