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

前端 未结 7 616
悲哀的现实
悲哀的现实 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:38

    I met such behavior if project was not fully upgraded to VS2015. In case if you open solution from 2015 in VS2013 - you will get this error

提交回复
热议问题