How To Check Default Language Version In Visual Studio ?

How To Check Default Language Version In Visual Studio ?

I was asked this question during my “Language Preview Session in Microsoft Reboot Camp”, last week. Sharing the same answer over here for all of you. While we create project in Visual Studio, we generally select / view the targeted version of Framework in the “New Project” Dialog window.  How do we know what is the current language version it is using?   So for an example, if you are running on Visual Studio 2015, and create a c# project with latest .NET Framework, your language version should be defaulted to “C# 6.0”.

This is how you can check and you can find list of all supported version as well.

Right Click on the Project, Select –> Properties from the context menu.

image

 

Navigate to  Build Tab, and select “Advanced” button.

image

This will bring “Advanced Build Settings” windows, where you can check the dropdown option for “Language Version”.

image      image

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “How To Check Default Language Version In Visual Studio ?”

Comments are closed.