I have a class .net standard 2.0 class library which I have added as a reference in .Net5 console application. I can add this class library as a reference as a project and dll both. Now I created a NuGet package of the same library but it's not visible in the NuGet package manager for the same .net5 project. I can still see some other .net standard 2.0 class libraries from the same package source but not mine.
What can be the issue?
Update: I have tried creating different-2 console applications. One is targeting .net 4.7.2 and one .net core 3.1 and one net 5. It's not showing the package in all the applications. But then I tried creating another .net standard 2.0 class library and I am able to see the package.
Screenshot of the package info.