aspnet-core-3-jwt-authentication-api icon indicating copy to clipboard operation
aspnet-core-3-jwt-authentication-api copied to clipboard

error NU1100: Unable to resolve 'Microsoft.AspNetCore.Authentication.JwtBearer (>= 3.1.6)' for '.NETCoreApp,Version=v3.1'.

Open amaneer94 opened this issue 3 years ago • 0 comments

When I run the command dotnet run. It shows the following error. Please guide.

C:\Users\khan\Downloads\Compressed\aspnet-core-3-jwt-authentication-api-master\WebApi.csproj : error NU1100: Unable to resolve 'Microsoft.AspNetCore.Authentication.JwtBearer (>= 3.1.6)' for '.NETCoreApp,Version=v3.1'. C:\Users\khan\Downloads\Compressed\aspnet-core-3-jwt-authentication-api-master\WebApi.csproj : error NU1100: Unable to resolve 'System.IdentityModel.Tokens.Jwt (>= 6.7.1)' for '.NETCoreApp,Version=v3.1'.

The build failed. Fix the build errors and run again.

My dotnet version is: dotnet --version 3.1.408

amaneer94 avatar Apr 25 '21 21:04 amaneer94