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

前端 未结 6 1189
名媛妹妹
名媛妹妹 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 08:59

    Right click on Project in Project Explorer and select Properties.

    When the Properties tab opens select Build and the click the Advance button in bottom right.

    There is drop-down box called Language Version. Change the select to "C# 5.0"

提交回复
热议问题