Error Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default

前端 未结 7 612
悲哀的现实
悲哀的现实 2020-12-13 11:58

I am trying to target .NET 4.6 and also take advantage of the latest C# version by changing the C# language version to 6.

However during compilation I got this error

7条回答
  •  再見小時候
    2020-12-13 12:24

    1.Go to Project and select your Project properties.

    2 Select Build and Click Advanced Button.

    3.Select Language Version default.

    4.Save .

    https://youtu.be/IP8feQeWqkk

提交回复
热议问题