Hi Sam,
TeamCity 10.0.5 <a href="https://youtrack.jetbrains.com/issue/TW-47443" rel="nofollow">could detect</a> MSBuild Tools 15 as well as Visual Studio 2017 installed on the build agent. So, to be able to build your project with a C# 7 features you need to select Visual Studio 2017 in the Visual Studio (sln) build step or MS Build 15 in the MSBuild step.
↧