V
V
Vladimir Korotenko2019-12-06 12:23:10
C++ / C#
Vladimir Korotenko, 2019-12-06 12:23:10

Error after updating the net core 3 project, how to cure?

After updating the Web Application project, from version 3 to version 3. 1, an error appears

1>Areas\Identity\Pages\Account\Login.cshtml.cs(79,23,79,26): error CS8370: Feature 'coalescing assignment' is not available in C# 7.3. Please use language version 8.0 or greater.


Studio latest version

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2019-12-06
@firedragon

Cured by adding the following code to csproj

<PropertyGroup>
    <LangVersion>latest</LangVersion>
    <!-- другие  обьявления в этом блоке -->
  </PropertyGroup>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question