Today I received an update to the Cake extension for Visual Studio Code.
After this update, when I run any of the Cake commands in VS Code, I get the following error message (dependent on the command):
command 'cake.commandname' not found
If I open the Developer Tools of VS Code I can see the following errors in the console log:

VisualStudioCodeDevToolsCakeError.log
I've confirmed with a colleague that it was working before the new version of the cake extension got installed.