Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Document <LangVersion> for csproj files #2821
The C# build system now includes a node inside a csproj file that controls which version of C# the compiler should follow. Valid values include:
This can be set using the Visual Studio IDE, or editing the CSProj file.
@mairaw Can this be done with a
@BillWagner Also please document:
Visual Studio has an option for language version with "C# latest major version (default)". Which I assume means "7.0" rather than "7.1" which is confusing because most advice in SO/blogs is to do nothing and get the latest and greatest automatically though msbuild defaults.
But actually, to get 7.1 I need to do