vscode install C# Extension error
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Core SDK (reflecting any global.json):
Version: 3.0.100
Commit: 04339c3a26
Runtime Environment: OS Name: Mac OS X OS Version: 10.14 OS Platform: Darwin RID: osx.10.14-x64 Base Path: /usr/local/share/dotnet/sdk/3.0.100/
Host (useful for support): Version: 3.0.0 Commit: 7d57652f33
.NET Core SDKs installed: 3.0.100 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
VS Code version: 1.38.1
C# Extension version: 1.21.3
Steps to reproduce
open project show message The .NET Core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path. AND Some projects have trouble loading. Please review the output for more details.
Expected behavior
Actual behavior
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
I have the same set up and issue as gpalazuelosg. Is there any visibility into this issue and when it might be rectified?
UPDATE: I set omnisharp.path to “latest” and robooted vscode. that seemed to work.
Hi @Sm1le291, Please try the instructions on this page - https://github.com/OmniSharp/omnisharp-vscode/wiki/Troubleshooting:-‘The-.NET-Core-SDK-cannot-be-located.’-errors