I have recently encountered the same misleading error message. The problem was that dependent binaries of the dll I wanted to obfuscate could not be found. When they were in the same directory, everything worked perfectly.