Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change .NET Framework in Rider IDE?

In Rider IDE, I am trying to create a new solution:

enter image description here

But I'm unable to change the .NET Framework as the dropdown is disabled. How can I change the version? I have installed .NET Framework 3.5, 4.5, 4.6.

like image 982
FaizanHussainRabbani Avatar asked Feb 09 '18 06:02

FaizanHussainRabbani


People also ask

Does Rider support .NET framework?

Rider supports . NET Framework, the new cross-platform . NET Core, and Mono based projects.

Does Rider support .NET 5?

Rider supports all of the features from the latest versions of . NET including source generators, new NuGet features, and new target frameworks (net5. 0-windows and net5.


1 Answers

This is one of the way to change the build framework in Rider. It allows you to switch the MSBuild version explicitly by selecting MSBuild.dll.

When you have multiple .NET framework, you can change it here.

This example is for .NET core project.

Within settings

In my system I installed latest .NET core RC after which Rider started complaining in older projects (when there were working fine prior to installation)

I had following versions

enter image description here

I selected the older version of MSBuild.dll and my project were back to normal.

like image 180
CodeNepal Avatar answered Oct 11 '22 17:10

CodeNepal