Enable C # 7 Support in VSTS

It seems that VSTS does not support C # 7, since I get a build error that will indicate the use of the C # 6 compiler. How do I enable C # 7 or what am I doing wrong? I am using Visual Studio 2017, focusing on .NET 4.6.1.

I would prefer not to return the C # 7 changes that I added, if possible. As you can see in the screenshot of Visual Studio and the console in VSTS, there is a difference in the version of C # used.

enter image description here

+4
source share
1 answer

, , , . 2 , Visual Studio, VSTS. Visual Studio 2017 Latest Hosted VS2017. .

enter image description here

+9

Source: https://habr.com/ru/post/1684929/


All Articles