I am unfortunately stuck on TeamCity 9 but want to use C# 7 language features. This requires me to have the VS2017 tools available, but in TC 9 you can only select up to 2015. I have manually installed the VS2017 toolkit on the build server and it is all available in
C:\Program Files (x86)\MSBuild\15.0
However in TC, the highest VS you can select to build with is 2015, which points to
C:\Program Files (x86)\MSBuild\14.0
I want some way to override this so that by selecting VS2015 in TeamCity, it will actually be pointing to MsBuild in
C:\Program Files (x86)\MSBuild\15.0
Is this possible?