Today I got the following error message from MSBuild. I've seen it before but I could not remember the problem.
“D:\Builds\*\BuildType\TFSBuild.proj” (CompileSolution target) (1:5) ->
(CoreCompileSolution target) ->
C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(978,5): error MSB3491: Could not write lines to file “D:\Builds\*\*.sln.Release.vsprops”. Could not find a part of the path ‘D:\Builds\*\*.sln.Release.vsprops’.
Turns out that some solutions where moved in the source control repository. After correcting the file location, everything was up and running again.
A more descriptive error message could have been usefull.