Skip to content

Feature 'async main' is not available in C# 7.0. Please use language version 7.1 or greater. [C:\temp\aspnetcore-angular-universal-master\Asp2017.csproj] #738

Description

@woxingren

I just download the latest version and try to run it, then get this compiler error.
This problem is from asp.net.
one workaround is found here: dotnet/aspnetcore#2751

Basically, the workaround is to put <LangVersion>latest</LangVersion> inside the main <PropertyGroup> at the top, then no error anymore.

I post here to help anyone who have the same problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions