I am occasionally getting this error in vscode when developing Logic App Standard when I press F5 to run the workflows locally.

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-C:\Users\michael\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows\2.8.4\bin\Microsoft.Azure.Workflows.BuildTasks.DebugSymbolGenerator.dll does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

Fix

If we check the directory mentioned we see the below

C:\Users\michael\azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows

If I just remove the 2.8.4 directory

Now I can go back and F5 again and it works.

If we look inside the contents of the 2.8.4 directory you will see that it doesnt have the Microsoft.Azure.Workflows.*.dll assemblies in the bin directory.

Ive deleted this directory a few times and occasionally it seems to re-appear. I havent yet worked out how that happens, Im assuming vscode or the workflow designer is updating it somehow.

Anyway reminder for myself on how to fix this when I forget next week.

 

Buy Me A Coffee