I found that your project needs to be using package references instead of the old Packages.Config file. You can right click Packages.config in Solution Explorer then select Migrate packages.config to PackageReference... in the context menu. In the popup dialog, it actually lists the transitive dependencies before doing the migration.