Need extensibility API to compare frameworks with imports (original) (raw)

It seems we need a new API from nuget to take into account framework’s imports when comparing frameworks.

Something like:

FrameworkName GetNearest(Tuple<FrameworkName, IEnumerable> targetFramework, IEnumerable<Tuple<FrameworkName, IEnumerable>> frameworks);

Or if you want to add a new Type for framework that would work too.