C# 6 Compiler Errors

matthamilton's Avatar

matthamilton

26 Aug, 2015 04:37 PM

On this project: https://ci.appveyor.com/project/mthamil/plantumlstudio, I have updated everything to .NET 4.6 and have used C# 6 syntax. I updated the build environment to Visual Studio 2015. However, it is failing with compiler errors, clearly because of the new syntax. Any idea what is wrong?

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Aug, 2015 04:57 PM

    Feodor Fitsner's Avatar

    If your project build step is set to "MSBuild" make sure .sln file has # Visual Studio 14 header (not # Visual Studio 2013); otherwise AppVeyor will force MSBuild 12.0.

    https://github.com/mthamil/PlantUMLStudio/blob/master/PlantUmlStudi...

  2. 2 Posted by matthamilton on 26 Aug, 2015 05:35 PM

    matthamilton's Avatar

    Can't believe I missed that. I figured VS would automatically change it. Thanks!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

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