You receive the following error message:
C:\WINDOWS\Microsoft.NET\Framework\v4.0\Microsoft.Common.targets(3246,9): error MSB3491: Could not write lines to file "obj\Release\abc.Common.vbproj.FileListAbsolute.txt". Access to the path ‘c:\TFS Builds\Sources\abc\obj\Release\abc.Common.vbproj.FileListAbsolute.txt’ is denied.
Have you checked in the "obj" and "bin" folders?
To resolve this issue:
- Delete the "obj" and "bin" folder in source control.
(usually those are not checked in)
- Delete the "obj" and "bin" folders on your hard disk.
(they will be re-created during build)