How to Change the C# Language Version to Build in Visual Studio 2015 ?

By default , when you create an application(Windows Phone / Windows Forms/Desktop application) in Visual Studio 2015 , it uses the C# as the language . If you are not using any of the new language enhancements or features of C# 6.0 , You can change the C# language version .

How to Change the C# Language Version to Build in Visual Studio 2015 ?

To change the # language version to build in Visual Studio 2015 , follow the below steps.

1. Right click on the project in the Visual Studio 2015 solution explorer and select properties.

image

2.  In the Project’s properties screen , select , BUILD from the left sidebar and click the “Advanced” button in the bottom of the “BUILD” screen.

image

3. In the “Advanced Build Settings” screen , select the language version that you want to target. and click “OK” to save.

image

4. You can now build the project and start using the features of the selected C# version.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error code “SCC_E_BACKGROUNDGETINPROGRESS” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_UNKNOWNERROR” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_CONNECTIONFAILURE” returned by the Visual Studio when using the Source Control...