If your team build project uses the Publish Target option (to create a ClickOnce deploy) you may see the error
BuildWallboard.csproj" (Publish target) (3:5) ->
(_DeploymentGenerateBootstrapper target) ->
MSB3155: Item ‘Microsoft.Net.Framework.3.5.SP1’ could not be located in BuildWallboard’.
MSB3155: Item ‘Microsoft.Windows.Installer.3.1’ could not be located in BuildWallboard’.
This is because on the build server needs a ‘default installation’ of Visual Studio Developer (or Suite). The publish function, like the MSTest function is not something the Team Build server can do bit itself it needs Visual Studio to do the heavy lifting.