Rider doesnt find installed .Net version
Followed by 2 people
Hey,
i use a fedora system with the newest version of rider installed. My Problem is that i have .Net 6.0 installed, but rider isnt showing that up to create or modify projects. The Path of the .Net Cli executable in rider is: /usr/lib64/dotnet.
The info provided by dotnet --info is:
.NET SDK (reflecting any global.json):
Version: 6.0.120
Commit: d63b17be66
Runtime Environment:
OS Name: fedora
OS Version: 38
OS Platform: Linux
RID: fedora.38-x64
Base Path: /usr/lib64/dotnet/sdk/6.0.120/
global.json file:
Not found
Host:
Version: 6.0.20
Architecture: x64
Commit: a08d9ce2ca
.NET SDKs installed:
6.0.120 [/usr/lib64/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.20 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.20 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Mono is also installed, this is the output when i run mono --version:
Mono JIT compiler version 6.12.0.182 (tarball Thu Jan 19 23:19:38 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)
Thanks for your help.
Please sign in to leave a comment.
Note, i reinstalled rider completly today. Also doesnt fix the error.
Hello Jannis Mengelberg,
Thank you for reaching Rider Forum.
Could you please share the following screen-shot with me Settings | Build, Execution, Deployment | Toolset and Build > Mono executable drop-down and MSBuild version drop down? Additionally, could you please try adding the required binaries manually by pressing the Custom button?
Thank you in advance!
Thanks for your response,
i tried to change it with the customs button, unfortunately this doesn't change it. Here are also the Screenshots from the Menu:
Mono:
MsBuild:
Hello Jannis Mengelberg,
Could you please share the details how have you installed the SDKs? In which order? Also with which tools?
Please share the output of the command:
Could you please let me know some details here? Have you chosen MSBuild.dll for the 6 .NET? What has happened after?
Looking forward to hearing from you soon.
The Output from the
command was: 6.0.121 [/usr/lib64/dotnet/sdk]
i have choosen the msbuild version 17.0 that is for the dotnet 6.0.121, it is located in: /usr/lib64/dotnet/sdk/6.0.121/MSBuild.dll
I fixed the error,
the problem was that i had a second .net installed which wasnt recognized by the system but somehow from rider. So it didnt show any of the two versions. I removed the other version and now .net is found and works.
Thanks for the support