Rider and Language Level for Code Analysis


I am running Rider on Windows 10 Pro, and I just loaded up a solution from source control. The project has lots of errors due to the C# language level not being set on individual projects in the solution. There are many projects to this solution, so setting the level on each would be very tedious.

Am I missing something here or is there a way to set this globally for all projects?

1 comment
Comment actions Permalink

Travis Beech,

If you can build the solution without errors, then it's probably something wrong in Rider settings. Please search for the following line in Rider settings files and remove it: 

<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue"></s:String>
  • Personal layer: `.DotSettings.user` file near your sln (if any)
  • Team-shared layer: `.DotSettings` file near your sln (if any)
  • Global settings layer: Use "Help -> Browse Special Files and Folders -> R# Global Settings" to locate `GlobalSettingsStorage.DotSettings` file

Please sign in to leave a comment.