Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

NuGet package not referenced in class library project throwing an error

$
0
0

I'm facing an issue here. My .NET Standard 2.1 class library project is throwing this error when i attempt to build the project

Package Microsoft.IdentityModel.Tokens 6.8.0 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package Microsoft.IdentityModel.Tokens 6.8.0 does not support any target frameworks.

But this package is not in any place referenced in the class library. I have tried using

dotnet nuget locals all --clear

but i still get the error message thrown up when I build the project.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>