![]() Navigate to Properties -> Build -> Advanced, select “ C# latest minor version(latest)” to pick latest installed minor version. Unless you made explicit changes to select the minor version it will use the major version as default. ![]() With that selected, you will only able to use the features of C# 7.0, irrespective of you have other versions of C# 7.1 or C# 7.2 installed. ![]() By default, it now referring the to major released version – ( C# latest major version) starting from the release of language version C# 7.1. In the Earlier versions of Visual Studio, the language version used to set as default, to pick the default languages version installed. You can refer to one of my old tip – How To Check Default Language Version In Visual Studio? This will bring “ Advanced Build Settings” windows, where you can check the drop-down option for “ Language Version”. To choose the C# language latest versions, In Visual Studio, from the Solution Explorer, right-click on the project and select Properties -> Build Tab. Visual Studio allows you to choose the C# language latest versions for your project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |