MSBuild 15 NuGet restore and build : <p>I'm trying to get the new MSBuild NuGet restore feature to work and having an odd problem.</p>

<p>If I do:</p>

<pre><code>msbuild.exe mySolution.sln /p:Configuration=Release
</code></pre>

<p>I get an error about missing packages. This is expected behaviour.
However, if I do:</p>

<pre><code>msbuild.exe mySolution.sln /p:Configuration=Release /t:restore
</code></pre>

<p>MSBuild "succeeds" but just creates an obj folder with some files relating to the NuGet restore i.e. no bin\Release\ folder.</p>

<p>In order to restore <strong>and</strong> build I have to issue both commands above (restore first, obviously).</p>

<p>I have upgrade all of the packages.config files to use the latest PackageReference in the .csproj file.</p>

<p><strong><em>Is there a way to both restore and build using a single command?</em></strong></p>
