title: new .net core visual studio 2017 project nuget restore in CI build definition
body: <p>So currently, I am working on a <strong>.net core</strong> project in <strong>Visual Studio 2017</strong>. And I am also need to setup CI (Continuous Integration) in VSTS.</p>
  
  <p>Here is my nuget restore step in my build definition</p>
  
  <p><a href="https://i.stack.imgur.com/bZ4Mk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bZ4Mk.png" alt="enter image description here"></a></p>
  
  <p>But my build is failing because it couldn't restore any packages. Here is the log of its. It said that "None of the projects in this solution specify any packages". I know that in VS2017 they changed the way nuget packages are being handled.
  Anyone has an idea or experience about this?</p>
  
  <pre><code>2017-03-22T20:25:11.9517911Z MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin'.
  2017-03-22T20:25:11.9674167Z Nothing to do. None of the projects in this solution specify any packages for NuGet to restore.
  2017-03-22T20:25:11.9830425Z ##[section]Finishing: NuGet restore **/*.sln
  </code></pre>
  
  <p>I don't want to use <code>dotnet restore</code> because Microsoft said that</p>
  
  <blockquote>
    <p>.NET Core's dotnet restore command doesn't currently support encrypted
    credentials. To use VSTS NuGet feeds with dotnet restore, you'll need
    to specify a Personal Access Token in plain text.</p>
  </blockquote>
  
  <p>so I don't want to store my Personal Access Token.
  <a href="https://www.visualstudio.com/en-us/docs/package/nuget/auth#net-core" rel="noreferrer">https://www.visualstudio.com/en-us/docs/package/nuget/auth#net-core</a></p>