Fatal Error C1085
Visual Studio 2005
Error MessageCannot write filetype file: 'file': message
To fix by checking the following possible causes
Drive is read-only.
Drive is full.
If the message says "bad file number", the file may have been closing in the foreground while compiling in the background.