Export (0) Print
Expand All
Expand Minimize

Compiler Error CS0040

Unexpected debug information initialization error — 'reason'

This error can occur when using the /debug compiler option and indicates that the compiler was unable to write to the .pdb file. Possible resolutions to this error include reinstalling Visual Studio, ensuring that the compiler has write access to a file or directory, or not compiling with /debug.

© 2014 Microsoft