I've spent hours trying to figure out what is wrong. I know the program is functional, as I tested by debugging the .il in MonoDevelop, however I can't compile through that. This is the log from the command prompt:
Any help appreciated.
Failed to write output file, error code=0x80070005
0x80070005 is an access denied error. You either don't have the rights to create a file into the directory, or you're trying to overwrite a file which is opened somewhere else.