Compiler Error CS2015

'file' is a binary file instead of a text file

A file was passed to the compiler that was a binary file. The compiler expects a source code file.