.NET 4.7 project is failing to build

muhammadmuzzammil.cs's Avatar


22 Nov, 2017 07:36 AM

I recently switched to .NET 4.7 framework from .NET 4.5.2 and after that my project is not building.

It says that there are syntax errors but they are not errors in .NET 4.7.
Errors are coming on "local function", a feature of C# 7, on line ~490.

Build worker image: Visual Studio 2017

How do I fix this?

  1. Support Staff 1 Posted by Feodor Fitsner on 22 Nov, 2017 05:37 PM

    Feodor Fitsner's Avatar

    In your appveyor.yml add the following to build on VS 2017 image:

    image: Visual Studio 2017
  2. 2 Posted by muhammadmuzzamm... on 23 Nov, 2017 10:33 AM

    muhammadmuzzammil.cs's Avatar

    THANK YOU!! :D

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:24 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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