Octopus Script Step Error: "Common Language Runtime detected an invalid program"
You might run into the following error when deploying with Octopus and one of your tasks is executing a C# script (ScriptCS) on the target machine. ERROR: Script execution failed. [InvalidProgramException] Common Language Runtime detected an invalid program. Exit code: 1 The remote script failed with exit code 1 This…