Deal with different language versions
As programming languages evolve, it is only natural to improve your code with new language features. On the other hand, there may be factors that prevent you from upgrading to the newest language version.
ReSharper is aware of different language versions. It analyzes code and applies its own features according to the current language version. Language version is detected automatically for each language, but you can set version manually for some of the languages as described below.
ReSharper 2021.3 fully supports all C# versions up to C# 10.0.
By default, ReSharper automatically detects C# version based on the associated compiler. However, you can specify the target C# version explicitly for a project — right-click the project in the Solution Explorer, choose Edit project item properties from the context menu and use the C# Language Level selector .
To set the C# version for all projects in your solution, specify it in a Directory.Build.props file in your solution directory as described here.
ReSharper 2021.3 fully supports all VB.NET versions up to VB 14 and partially VB 15.
By default, ReSharper automatically detects VB.NET version based on the associated compiler. However, you can specify the target VB.NET version explicitly for a project — right-click the project in the Solution Explorer, choose Edit project item properties from the context menu and use the VB.NET Language Level selector .
ReSharper 2021.3 fully supports TypeScript from v. 1.4 to v. 3.0. ReSharper automatically detects TypeScript version by the
<TypeScriptToolsVersion> property in the Visual Studio project file. But you can specify the target TypeScript version explicitly using the TypeScript language level selector on the page of ReSharper options.
ReSharper 2021.3 supports C, C++03, C++11, C++14, C++17, C++/CLI, and partially C++20. ReSharper detects C++ version automatically based on the platform toolset (/std switch.in the project properties) and/or on the
ReSharper supports CSS up to version 4.0. In practical terms, CSS version is by far less important than CSS feature set supported by different web browsers. Therefore, ReSharper lets you tune its CSS code inspection for specific versions of particular web browsers. You can configure it on the options page.