Compiler Error CS2012

Cannot open 'file' for writing

While using the /bugreport:file compiler option, the file could not be opened for writing. Make sure you specified a valid file name and that the file is not read-only.