Rider C# 7.3 support
Answered
I am using Rider 2019.1 for Mac it it only appears to support to C# 7.0. I found a post saying that Rider would have 7.1 in 2018. Is this really lagging that far behind? I would like to have full c# features.
Please sign in to leave a comment.
I have started using Resharper Rider for development and have run into an issue where Rider seems to default to a different C# version than VS (we still have other developers using VS).
According to VS 2017 the C# version for all our projects is 'C# latest major version (default)' (not set in project). As we are using .NET Framework this defaults to C# 7.0 as expected. When I look at the same project configuration under Rider it has C# '7.3' selected. This has already caused issues where I've used a C# feature that requires a version > 7.0. Is this a known issue?
Hello Simon,
Perhaps, a ReSharper-specific language version setting is configured for your project. You can check it in project properties: right-click on nthe project in Rider's Solution Explorer -> Properties -> Application. If you see smth similar to the attached screenshot, take the following steps:
1. Find a <solution_name>.csproj.dotsettings near your project file
2. Remove <s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">...</s:String></wpf:ResourceDictionary> string when Rider is not running
3. Save the file and start Rider
If the above doesn't help, please create a new Support Request using the blue button on the top of this page, and attach your csproj file there. We'd be happy to investigate your problem deeper.
We don't have any files with the .csproj.dotsettings. We do however have a '.sln.dotsettings' and 'sln.dotsettings.user' but these files do not contain any reference to 'LanguageLevel'.
Ill do as you suggest and raise a support request.