The NuGet server expects all targetFrameworks elements in the nuspec file to have a dependency element, this is not the case for some frameworks, e.g. .NETFramework4.6.1 and .NETStandard2.0.
When viewed in Visual Studio 2017 I only see the .NETStandard1.4 framework shown in the dependencies listing, this means that when I install the package it loads as .NETStandard1.4 instead of .NETFramework4.6.1 or .NETStandard2.0.
I see that when the package is pushed to the NuGet server the framework and dependencies are extracted from the nuspec file, however, if the framework doesn't have dependencies then that framework isn't saved as a dependency to the database.
The NuGet server expects all targetFrameworks elements in the nuspec file to have a dependency element, this is not the case for some frameworks, e.g. .NETFramework4.6.1 and .NETStandard2.0.
When viewed in Visual Studio 2017 I only see the .NETStandard1.4 framework shown in the dependencies listing, this means that when I install the package it loads as .NETStandard1.4 instead of .NETFramework4.6.1 or .NETStandard2.0.
I see that when the package is pushed to the NuGet server the framework and dependencies are extracted from the nuspec file, however, if the framework doesn't have dependencies then that framework isn't saved as a dependency to the database.
I have a fix for this and will create a PR.