Builds are failing on latest stable of XS when trying to build code with C# 6.0 features. What version of MSBuild does XS on Windows use, what is its path, and if there is one, what is the plan for supporting and/or using Microsoft Build Tools 2015?
I was recently looking into this, and it appears that we hard-code a preference for tools version 12 (VS2013):
VS2015 is tools version 14.
Michael pointed out that this can be worked around by adding this to your csproj:
<PropertyGroup Condition="'$(Platform)' != 'Unix'">
Alternatively, you can set a CscToolPath system environment variable to the expanded value of that expression (which I have done, and it's working great now).
As per above discussion, marking this issue as Confirmed.
*** Bug 34831 has been marked as a duplicate of this bug. ***
*** Bug 34583 has been marked as a duplicate of this bug. ***
*** Bug 33846 has been marked as a duplicate of this bug. ***
Fixed in 18.104.22.1689 (a0c5725bfa4a07ff67a99a4bdff1f9cf8b638386)
*** Bug 35395 has been marked as a duplicate of this bug. ***
Fixed in version 22.214.171.1241 (cycle6)
Author: Lluis Sanchez Gual
Commit: 5866862b44137081d88bdcb8184da0d00c1a8206 (mono/monodevelop)
I have checked this issue with latest C6SR1 build i.e
XamarinStudio-126.96.36.199_60e81d8fc403b35205259dc04e3f8cb60d6eeedd and now this issue is working fine. I have checked this issue with "Topeka" sample from bug
Screencast for mac: http://www.screencast.com/t/SoocX1RU2GpK
Screencast for Windows: http://www.screencast.com/t/vVe2az5OKP
Hence I am closing this issue.