How do I disable C# 6 Support in Visual Studio 2015?

前端 未结 6 1221
名媛妹妹
名媛妹妹 2020-12-04 08:14

Background

We have a project that we\'re developing in VS 2015 with C#6 enabled that occasionally needs to be opened by developers using VS 2013 without C#6.

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 09:00

    Steps have already been written above, just adding a screenshot further of my VS2015:

    Properties of project >> Build >> Advanced >> Language version

    I set that to C# 5.0.

提交回复
热议问题