How to change .NET Framework in Rider IDE?

FaizanHussainRabbani picture FaizanHussainRabbani · Feb 9, 2018 · Viewed 14.6k times · Source

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.

Answer

CodeNepal picture CodeNepal · Sep 16, 2020

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.