-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It was not possible to find any installed .NET SDKs. #4409
Comments
@dstpierre The dotnet SDK resolver has issues with Snap installs. I found this comment on the dotnet/sdk snap issue that may resolve your issue - dotnet/sdk#10403 (comment) |
Please let me know if those instructions work for you and I'll add them to the Wiki. |
I linked the snap version, in my case was: # ln -s /snap/bin/dotnet /usr/local/bin/dotnet Now doing a: $ which dotnet
/usr/local/bin/dotnet Reloaded the vs code sample project and it's still saying no SDK version found. Feel free to close this, as I'm not going to pursue trying further. |
@dstpierre If you are able, installing the SDK from Apt should work. |
Also, there is another workaround listed on our Wiki. |
This worked for me on Ubuntu 20.10 using ms-dotnettools.csharp version v1.23.9 with no additional setup. |
I've decided to regive another try, this time I installed dotnet-core SDK via asdf, I've create the symlink like @rhyek said it was working for them, here's my link $ ls -al /usr/local/bin/dotnet
lrwxrwxrwx 1 root root 34 May 11 14:52 /usr/local/bin/dotnet -> /home/dstpierre/.asdf/shims/dotnet
$ which dotnet
/home/dstpierre/.asdf/shims/dotnet I've added with the I've always the same issue. I just re-installed the extension and all dotnet since last February, but still the same issues. Any pointer? We have old .NET 4.5 ASP.NET code bases that I'd like to migrate, but can't figure how to have the extension to find the damn .NET core version. |
nevermind, the version 5 is now available via |
It did not worked for me - Unfortunately |
Também não funcinou para mim |
Para dar certo no meu caso, eu removi a instalação que fiz via snap, e como @dstpierre sugeriu fiz pelo apt:
Instalação pelo APT:
Em seguida configurei o path
No final carreguei as variaveis de ambiente com
Depois inclui no settings.json do VSCODE para que fosse baixada uma versão anterior do OmniSharp ao reinicia-lo :
|
I'm trying to work on dotnet 5 project from my Debian Linux OS.
Here's the error I'm getting from Omnisharp log:
I have one dotnet SDK installed:
I suppose the extension has some kind of preset to search for
dotnet
SDK, like in/usr/local/bin
for instance.I've tried to find a setting I could change and could not find anything related to the path of the
dotnet
installed.What can I do from here? How can I tell the extension where to look for the installed
dotnet
?Thanks
The text was updated successfully, but these errors were encountered: