Hello,
I am new to setting up Azure Web App deployments and have run into an error that I am unsure how to fix.
Here is the error from the failed deployment:
System.MissingMethodException: Method not found: ‘Void Microsoft.Web.Deployment.DeploymentBaseOptions.set_UserAgent(System.String)’.
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.DeploymentOptions(String siteName, SitePublishProfile publishProfile)
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\AzureWebAppConvention.cs:line 24
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
at Calamari.Deployment.ConventionProcessor.RunConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 28
Running rollback conventions…
System.MissingMethodException: Method not found: ‘Void Microsoft.Web.Deployment.DeploymentBaseOptions.set_UserAgent(System.String)’.
09:47:00Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.DeploymentOptions(String siteName, SitePublishProfile publishProfile)
09:47:00Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\AzureWebAppConvention.cs:line 24
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 50
at Calamari.Azure.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Commands\DeployAzureWebCommand.cs:line 85
at Calamari.Program.Execute(String[] args) in Y:\work\14ffc968155e4956\source\Calamari\Program.cs:line 38
The step failed: The remote script failed with exit code 100
Has anyone else seen this error? What is the fix for it?
Thank you,
Victoria