I'm trying to create a NuGet package from my project, which is targeting .net standard 2.0. When I add this package as a reference from NuGet package manager I get the following errors
Package packageName is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package packageName supports: netstandart20 (netstandart2.0,Version=v0.0)
Package packageName is not compatible with net461 (.NETFramework,Version=v4.6.1). Package packageName supports: netstandart20 (netstandart2.0,Version=v0.0)
Also I am able to add this project as a reference to the project, where NuGet fails. How can I fix this?