TFS: cannot build my app, CS0042: Unexpected error creating debug information file. Access is denied.

Posted by zeta on Stack Overflow See other posts from Stack Overflow or by zeta
Published on 2011-12-14T17:08:30Z Indexed on 2012/03/19 23:29 UTC
Read the original article Hit count: 2287

Filed under:

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?

© Stack Overflow or respective owner

Related posts about tfs