I want to update my packages but I got some errors like this:
How can I solve this problem?
The error is:
Error NU1202 Package Microsoft.EntityFrameworkCore.Sqlite5.0.0-rc.1.20451.13 is not compatible with net50 (.NETFramework,Version=v5.0) / win7-x86. PackageMicrosoft.EntityFrameworkCore.Sqlite 5.0.0-rc.1.20451.13 supports:netstandard2.1 (.NETStandard,Version=v2.1) APIE:...\API\API.csproj 1
API.csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>net5.0</TargetFramework></PropertyGroup><ItemGroup><PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.0.1" /><PackageReference Include="CloudinaryDotNet" Version="1.11.0" /><PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.7" /><PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.0-preview.8.20414.8" /><PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.0-preview.8.20407.4"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets><PrivateAssets>all</PrivateAssets></PackageReference><PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0-preview.8.20407.4" /><PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="5.0.0-preview8" /><PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.7.1" /></ItemGroup></Project>
C:\WINDOWS\system32>dotnet --info .NET SDK (reflecting anyglobal.json):
Version: 5.0.100-rc.1.20452.10
Commit: 473d1b592eRuntime Environment:
OS Name: Windows
OS Version: 10.0.17763OS Platform: Windows
RID: win10-x64
Base Path: C:\ProgramFiles\dotnet\sdk\5.0.100-rc.1.20452.10\