title: Vs2017: NuGet packages not restored with MSBuild
body: <ol>
  <li>I build from VS2017 and the packages are downloaded and the projects
  build.</li>
  <li>Then I nuke the packages folder.</li>
  <li>Then I build using MSBuild the projects fail because the packages don't
  exist, they haven't been restored.</li>
  </ol>
  
  <p>I have "download missing packages" on<br>
  <img src="https://i.stack.imgur.com/sZda0.png"></p>
  
  <p>The project files would have been originally created in VS 2013</p>
  
  <p>The build.proj using the MSBuild task to build the solution.</p>
  
  <pre><code>&lt;MSBuild Projects ="$(root)\src\MySolution.sln" ContinueOnError ="false" Properties="Configuration=$(Configuration)"&gt;
      &lt;Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/&gt;
  &lt;/MSBuild&gt;
  </code></pre>
  
  <p>My google-fu has failed me, any and all ideas will be greatfully received.</p>