I can't see older dotnet sdk versions in v2023.2.1 - Only .Net7.0

The screenshot shows the exact same project opened up in different versions of Rider. 1st is v2023.2.1 and the 2nd is v2022.3.3

Have I missed some comms somewhere - Are newer Rider versions only supporting .NET7.0 + ?

0
4 comments

Hello Tarisaig,

Thank you for contacting Rider support.
I suppose you have different dotnet installations on your machine. Please check if you have

/usr/local/share/dotnet and /usr/local/share/dotnet/x64 folders.

Go to Preferences | Build, Execution, Deployment | Toolset and Build and verify if you have different tools set in different Rider versions: .NET CLI Executable Path and MSBuild version.

It is likely that in Rider 2022.3.3 you have set the x64 version of dotnet and MSBuild set, while in Rider 2023.2.1 it is an arm version (no x64 in the path).

If you want Rider 2023.2.1 to utilize dotnet x64, set the paths to the /usr/local/share/dotnet/x64 and /usr/local/share/dotnet/x64/sdk/{SDK version}/MSBuild.dll
If you want to use the .NET 6 ARM (Arm versions are available only starting from .NET 6), you should install the arm version of .NET 6. (take the MacOS | Arm64 installer from the .NET download page.

Hope that helps.

If there is anything else I can assist you with or you have any other questions, please let me know.

Have a nice day!

-1

Thank you Dmitry. 

Aligning the paths resolved this for me, v2023.2.1 now picks up older dotnet sdk versions.

I really appreciate your support on this.

Have a nice day too :)

0
Hello Tarisaig,

I am happy to hear that I was able to help.

Please feel welcome to reach out to us if you have any questions or difficulties. We will be happy to assist.

Have a great day and take care!
0

Please sign in to leave a comment.