I have same issue, I managed to solve the problem by manually modifying the project file in one computer and checked in to source control. but when I try to open the same project in another computer, I get this error:
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-dotnet-mgcb 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.