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 374
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
- Content Negotiation in Web API
- How to fix 'InvalidOperationException: Scheme already exists: Bearer'
- How to fix System.InvalidOperationException: Scheme already exists: Identity.Application
- Add Thread ID to the Log File using Serilog
- Handling Exceptions in .NET Core API with Middleware
- InProcess Hosting in ASP.NET Core
- Limits on ThreadPool.SetMinThreads and SetMaxThreads
- Controlling DateTime Format in JSON Output with JsonSerializerOptions
Categories
Popular Posts
AdminKit Bootstrap 5 HTML5 UI Kits Template
11/17/2024
Spica Admin Dashboard Template
11/18/2024