Compiler Error CS0041
Error MessageUnexpected error writing debug information to file 'file' — 'reason'
This error can occur when using the /debug compiler option. If you encounter this error, try deleting the PDB files in the bin directory and recompiling. If you are still encountering this error, you may need to repair or reinstall Visual Studio. As a last resort, try .