title: Why is my dependent package not resolved?
body: <p>I have a package dependency situation as follows:
  Error:</p>
  
  <p>Attempting to gather dependency information for package 'PkgB.2.0.414' with respect to project 'test Nuget Package Usage', targeting '.NETFramework,Version=v4.5'
  Attempting to resolve dependencies for package 'PkgB.2.0.414' with DependencyBehavior 'Lowest'
  Unable to resolve dependency 'PkgC.1.0.0'. Source(s) used: 'nuget.org', 'Company Package source', 'Local testing', 'Microsoft and .NET', 'Microsoft Visual Studio Offline Packages'.</p>
  
  <p>Situation A:
  PkgA=>PkgC</p>
  
  <p>Situation B:
  PkgB=>PkgA=>PkgC</p>
  
  <p>When I install situation A it works. When I install situation B it works. But if I install A then B it fails to find Pkg C even though its already installed and working fine.</p>
  
  <p>Keep in mind the following environment:</p>
  
  <p>These are all packages that install fine individually and separately.
  This problem <strong>only</strong> happens using a NuGet feed server.
  I don't have this problem using a package share as the source of installation.</p>
  
  <p>Sources:
  I've looked at NuGet documentation for versioning and the nearest algorithm, but I don't see how I would be violating it.</p>
  
  <p><a href="https://docs.nuget.org/ndocs/consume-packages/dependency-resolution#dependency-resolution-in-nuget-3-x" rel="nofollow noreferrer">https://docs.nuget.org/ndocs/consume-packages/dependency-resolution#dependency-resolution-in-nuget-3-x</a></p>
  
  <p>And I don't see how specifying versions would matter either.
  <a href="https://docs.nuget.org/ndocs/create-packages/dependency-versions#dependency-versions" rel="nofollow noreferrer">https://docs.nuget.org/ndocs/create-packages/dependency-versions#dependency-versions</a></p>
  
  <p>My own conclusion:</p>
  
  <p>It seems like the issue is in the feed server and how it finds the dependencies. I'm looking at the NuGet.Server source on git but haven't noticed anything yet. I'll probably end up bringing down the source and figuring it out.</p>
  
  <p>Shouldn't this situation work regardless of the type of feed source? </p>
  
  <p>Edit:</p>
  
  <p>This is a private nuget feed and private nugets that aren't in any repo that I can share publicly. </p>
  
  <p>I used the version >= notation referenced here to build the reference tree throughout the situations. </p>
  
  <pre><code>&lt;!-- Accepts any version 6.1 and above --&gt;
  &lt;dependency id="ExamplePackage" version="6.1" /&gt;
  </code></pre>