I'm using a fresh reinstall of Visual Studio Code and dotnet (with 5.0 core and aspcore) on macOS Big Sur.
I get the following error when the extension starts up:
Couldn't start client PHP Language Server
I check output of PHP Language Server:
[Error - 7:34:41 PM] Starting client failed
Launching server using command dotnet failed.
I check output Log (Window):
[2021-04-03 19:34:42.158] [renderer1] [error] spawn dotnet ENOENT: Error: spawn dotnet ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[2021-04-03 19:34:43.001] [renderer1] [error] Launching server using command dotnet failed.
I actually tried this on the console:
dotnet ~/.vscode/extensions/devsense.phptools-vscode-1.2.6273/out/server/Devsense.PHP.LanguageServer.exe
And received:
Error:
An assembly specified in the application dependencies manifest (Devsense.PHP.LanguageServer.deps.json) has already been found but with a different file extension:
package: 'Devsense.PHP.LanguageServer', version: '1.2'
path: 'Devsense.PHP.LanguageServer.dll'
previously found assembly: '[...]/.vscode/extensions/devsense.phptools-vscode-1.2.6273/out/server/Devsense.PHP.LanguageServer.exe'
I don't know nor understand .NET at length myself, so I don't know how to fix any kind of manifest or dependencies here.
I've tried uninstalling all extensions on Code, even removing them from the .vscode folder, and then installing this extension both from inside Code, and as a VLIX file from the website. No go.
I paid for an individual license for Visual Studio Code, but if it won't really run, then I'd like a refund. Can we get it to run?
Thanks,
Asher