C# 7 syntax support in Visual Studio 2017 image
Hi,
I have some issues with MSBUILD using C# 7 syntax using the VS2017 image at this project (https://ci.appveyor.com/project/geoperez/ffmediaelement).
Am I missing any extra configuration in order to support the MSBUILD to use C# 7?
Thank you
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by Ilya Finkelshte... on 27 Jun, 2017 01:27 AM
Hi Geovanni,
Apparently your build used default (VS2015) image. I sent you PR to use VS2017.
Ilya
2 Posted by geovanni.perez on 27 Jun, 2017 01:30 AM
So I need to configure in the YML file? Thank you
3 Posted by Ilya Finkelshte... on 27 Jun, 2017 01:32 AM
Yes, as long as you have YAML, it takes over UI, with few exceptions.
4 Posted by Pavel Khritonen... on 16 Oct, 2017 12:40 AM
I use Fake for writing build scripts and it can't find MSBuild of version 15, only version 14. It has a configuration option to specify VisualStudio version and msBuildExe file but still can't found MSBuild of version 15, even I specified VS2017. It found MSBuild version 14. Could you help me with the path of version 15?
5 Posted by Ilya Finkelshte... on 16 Oct, 2017 07:24 AM
You can run
where msbuildcommand at any build stage onVisual Studio 2017build worker image. Anyway it isC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exeIf you still have issues, please send us link to the problem build and your build configuration in YAML format (use
Export YAMLif you use UI).6 Posted by priyu323 on 01 Feb, 2018 09:10 AM
What are the new C# 7.1 features ?
7 Posted by geovanni.perez on 07 Mar, 2018 05:22 PM
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7-1
geovanni.perez closed this discussion on 07 Mar, 2018 05:22 PM.