Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article applies to: ✔️ .NET Core SDK 3.1.100 and later versions
You may receive this error message when:
- You retarget an ASP.NET Core project from .NET Core 2.2 or earlier to .NET Core 3.0 or later.
- The project uses the Microsoft.AspNetCore.All package.
Remove the PackageReference
for Microsoft.AspNetCore.All. You may also need to add package references for packages that were referenced from Microsoft.AspNetCore.All but are not included in the ASP.NET Core shared framework. These packages are listed here: Migrating from Microsoft.AspNetCore.All to Microsoft.AspNetCore.App.