title: NuGet CLI throw error Unable to find .nupkg
body: <p>I try to build a package using NuGet CLI. 
  I run next command :</p>
  
  <pre><code>.\nuget.exe pack D:\projects\CloudStorage.Client.csproj -OutputDirectory D:\packages -Build -Symbols -Properties Configuration=Release;
  </code></pre>
  
  <p>But always get next error:</p>
  
  <blockquote>
    <p>Error NU5012: Unable to find 'Autofac.4.9.4.nupkg'. Make sure the project has been built.</p>
  </blockquote>
  
  <p>But the solution is built. </p>
  
  <p>I'm using the latest version of NuGet (<a href="https://www.nuget.org/downloads" rel="nofollow noreferrer">v5.2.0</a>)</p>
  
  <p>In bin/Release folder Autofac is present or I don't understand correctly of the difference between missed '.nupkg' and present assemblies?</p>
  
  <p><a href="https://i.stack.imgur.com/OqXoO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OqXoO.png" alt="enter image description here"></a></p>
  
  <p>Also for the mentioned project, there are present <code>CloudStorage.Client.nuspec</code> file</p>
  
  <hr>
  
  <p>This issue was detected when I updated one nuget package(<a href="https://www.nuget.org/packages/Z.EntityFramework.Extensions/" rel="nofollow noreferrer">https://www.nuget.org/packages/Z.EntityFramework.Extensions/</a>)  in solution that requires now SemVer 2.0.0 package... In order to build it, I upgrade Nuget to 4.3.0+ version. The result is above.</p>
  
  <hr>
  
  <p>Project nuspec content:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
      &lt;package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"&gt;
         &lt;metadata&gt;
             &lt;id&gt;CloudStorage.Client&lt;/id&gt;
             &lt;version&gt;$version$&lt;/version&gt;
             &lt;description&gt;CloudStorage Client&lt;/description&gt;
             &lt;authors&gt;MyTeam&lt;/authors&gt;
             &lt;tags&gt;$branch$&lt;/tags&gt;
         &lt;/metadata&gt;
      &lt;/package&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>UPD</strong> </p>
  
  <p>I've created test project, where include Autofac 4.9.4 and try to build pack for it. It was successfully created. From console I see that for Autofac was copied all 3 files to bin folder <code>.pdb</code>, <code>.dll</code> and <code>.xml</code> files... while in my "problem" project only <code>.dll</code> is copied.</p>