How to fix "A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher"
By FoxLearn 2/18/2024 9:17:05 AM 476
This post shows you How to fix "A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher" in ASP.NET Core.
Severity Code Description Project File Line Suppression State Warning NETSDK1080 A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference.
Open your Solution Explorer, then click Dependencies =>select Packages and remove Microsoft.AspNetCore.App
- Options Pattern In ASP.NET Core
- Implementing Rate Limiting in .NET
- IExceptionFilter in .NET Core
- Repository Pattern in .NET Core
- CRUD with Dapper in ASP.NET Core
- How to Implement Mediator Pattern in .NET
- How to use AutoMapper in ASP.NET Core
- How to fix 'asp-controller and asp-action attributes not working in areas'
Categories
Popular Posts
Stisla Admin Dashboard Template
11/18/2024
Admin Tailwind CSS Admin Dashboard Template
11/18/2024
Portal HTML Bootstrap
11/14/2024