I am trying to configure continuous deployment (.NET Core 1.1 web application) with VSTS build engine.
To do this, I follow the steps outlined in a Microsoft white paper:
Use VSTS to build and publish to Azure Web App with continuous deployment .
The first three steps (restore / publish / zip) work without any problems. But the fourth step fails. I cannot publish the application in my Azure application service.
Here is the error (from the log):
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" > "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
2016-12-22T14:12:14.8589281Z
Step details
Am I missing something? I did exactly what the documentation says (same variables, same steps, same configuration).
: , "dotnet restore" , project.json. project.json - ASP.NET Core 1.1 ( .csproj).
warn: 'C:\a\1\s' .