Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 3

Github Nuget package dependencies

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:

      <group targetFramework=".NETFramework4.6.1">
        <dependency id="Newtonsoft.Json" version="12.0.3" exclude="Build,Analyzers" />

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?


2 Replies
Copilot Lvl 3
Message 2 of 3

Re: Github Nuget package dependencies

Just me then?

Community Manager
Message 3 of 3

Re: Github Nuget package dependencies

Hi @robturnerovo,


Thanks for letting us know about this. There does appear to be code to handle returning a Project URL, but it doesn't appear to be working. I've added your feedback to internal issue about this and hopefully it will be fixed soon.


There is a PR in progress to fix the missing Dependencies information. This doesn't impact restoring packages, only how they're displayed inside Visual Studio.

I hope this helps,

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!