Continuous deployment to Azure of ASP.NET Core app
<p>I'm trying to set up continuous deployment (.NET Core 1.1 Web Application) with the build mechanism of VSTS.<br>
To do so I'm following the steps displayed on the official doc of Microsoft :
<a href="https://docs.microsoft.com/en-us/aspnet/core/publishing/vsts-continuous-deployment" rel="nofollow noreferrer">Use VSTS to Build and Publish to an Azure Web App with Continuous Deployment</a>.</p>

<p>The first 3 steps (restore/publish/zip) work without any issue. But the fourth step is failing. I'm not able to publish the app to my Azure App Service.<br>
Here is the error (from the log) :  </p>

<pre><code>2016-12-22T14:12:13.1175907Z Got connection details for azureRM WebApp:'devoteamlogin-staging'
2016-12-22T14:12:13.5419583Z Running command: "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:getParameters -source:package="C:\a\1\a\DevoteamLogin.zip" &gt; "C:\a\1\s\parameter.xml"
2016-12-22T14:12:14.8449274Z Error Code: ERROR_EXCEPTION_WHILE_CREATING_OBJECT
2016-12-22T14:12:14.8449274Z More Information: Object of type 'package' and path 'C:\a\1\a\DevoteamLogin.zip' cannot be created.  Learn more at: 
2016-12-22T14:12:14.8449274Z Error: The Zip package 'C:\a\1\a\DevoteamLogin.zip' could not be loaded.
2016-12-22T14:12:14.8449274Z Error: Package file 'C:\a\1\a\DevoteamLogin.zip' is not in a supported .zip format and therefore cannot be read.
2016-12-22T14:12:14.8449274Z Error count: 1.
2016-12-22T14:12:14.8509276Z ##[error]TypeError: Cannot read property 'output' of null
2016-12-22T14:12:14.8589281Z ##[section]Finishing: Deploy AzureRM App Service: devoteamlogin-staging
</code></pre>

<p><a href="https://i.stack.imgur.com/P2r7u.png" rel="nofollow noreferrer">Step details</a>  </p>

<p>Am I missing something somewhere ? I did exactly what the documentation says (same variables, same steps, same configuration).</p>

<p><strong>Update:</strong> After making some new tests, I see that the 'dotnet restore' command does not restore anything because it does not find the project.json. But there is no project.json file anymore in the new ASP.NET Core 1.1 Web application (everything is in the .csproj file).</p>

<blockquote>
  <p>warn : The folder 'C:\a\1\s' does not contain a project to restore.</p>
</blockquote>