🐎BLOG🐎

VSCODEに.NETCoreSDKをぶちこむ

pulished:

VSCodeに出たエラー

The .NET Core SDK cannot be located: A valid dotnet installation could not be found. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.

参考

やったこと

調べる: dotnet --list-sdks

結果:

6.0.100 [/usr/local/share/dotnet/sdk]
6.0.400 [/usr/local/share/dotnet/sdk]
7.0.102 [/usr/local/share/dotnet/sdk]

Omnisharp

OmnisharpSDKPath

"omnisharp.dotnetPath": "/usr/local/share/dotnet",
"omnisharp.sdkPath": "/usr/local/share/dotnet/sdk",

以上でパス通ってるはず。