I’m struggling to get my Nuget depedencies to work as expected in Github packages. In Visual Studio Nuget Package Manager my nuget package always displays “No dependencies”.
However my nuspec has the following defined:
<dependencies> <group targetFramework=".NETFramework4.6.1"> <dependency id="Newtonsoft.Json" version="12.0.3" exclude="Build,Analyzers" /> </group> </dependencies>
And if I view my package using Nuget Package Explorer, or download locally to an offline nuget source, I correctly see my dependencies.
Has anyone got a working example so I can see if it’s just me doing something wrong?