Hi, I'm having the same problem. Same error message.
.NET task worked fine before upgrading to 7.1.5 but now it fails. Hitting "Compile" in the code pane works, hitting "Run" executes the code with the expected result, but executing the task itself fails.