TFS: cannot build my app, CS0042: Unexpected error creating debug information file. Access is denied.
- by zeta
I am trying to deploy my MVC app, but in the TFS build I get this error message;
CSC : fatal error CS0042: Unexpected error creating debug information file 'c:\Builds\2\STAS\STAS\Sources\Documents and Settings\jyothisrinivasa\My Documents\Visual Studio 2010\Projects\STAS\STAS\obj\Debug\STAS.PDB' -- 'c:\Builds\2\STAS\STAS\Sources\Documents and Settings\jyothisrinivasa\My Documents\Visual Studio 2010\Projects\STAS\STAS\obj\Debug\STAS.pdb: Access is denied.
I have excluded the Debug directory from my application, so why am I getting this?