vscode-csharp: '""' is not recognized as an internal or external command,
Environment data
dotnet --info
output:
.NET Command Line Tools (2.1.103)
Product Information:
Version: 2.1.103
Commit SHA-1 hash: 60218cecb5
Runtime Environment:
OS Name: Windows
OS Version: 10.0.16299
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.103\
Microsoft .NET Core Shared Framework Host
Version : 2.0.6
Build : 74b1c703813c8910df5b96f304b0f2b78cdf194d
VS Code version:
Version 1.21.1
Commit 79b44aa704ce542d8ca4a3cc44cfca566e7720f1
Date 2018-03-14T14:46:47.128Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
C# Extension version:
1.14.0
Steps to reproduce
Install the extension, nothing is working
Expected behavior
Intellisense, navigate to errors etc etc etc
Actual behavior
Error in bottom right of vscode, after clicking on it:
Starting OmniSharp server at 2018-3-27 23:35:39
Target: c:\Users\Bassie\Source\github\QC Core
OmniSharp server started
Path: <Path to the omnisharp executable>
PID: 10000
'"<Path to the omnisharp executable>"' is not recognized as an internal or external command,
operable program or batch file.
Starting OmniSharp server at 2018-3-27 23:36:03
Target: c:\Users\Bassie\Source\github\QC Core
OmniSharp server started
Path: <Path to the omnisharp executable>
PID: 8636
'"<Path to the omnisharp executable>"' is not recognized as an internal or external command,
operable program or batch file.
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (2 by maintainers)
I found the path: C:\Users[Your User Name].vscode\extensions\ms-dotnettools.csharp-[Version].omnisharp[Version]
@Matt11
Apologies Matt I just saw this, but can confirm:
omnisharp.path
Edit in settings.json
"omnisharp.path": ""