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.
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.
Just for everyone else who has this problem due to the usage of a key-file for signing:
The file which can not be accessed due to 0x80070005
does not have to be the .il
-file.
Like described in this answer I had to give permissions of my user to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
.
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.