Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
woxingren opened this issue Oct 2, 2019 · 0 comments

Comments

@woxingren
Copy link

woxingren commented Oct 2, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant