When you want to build your solution in VS 2005, together with TFS as source control it could that you encountered the following error:
Build FAILED.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2797,9): error MSB3491: Could not write lines to file "obj\project.vbproj.FileList.txt". Access to the path 'd:\builds\project\obj\project.vbproj.FileList.txt' is denied.
The problem is that this file is checked into source control and they are marked as read-only. Even by setting the read-only flag to off it doesn’t work, because the next build the flag is switched on again. As they are intermediate files, generated by the build, these should never been checked in. So to solve the error above, delete the file from SCC, delete the file from your HD and try again.