title: Azure Devops Release
body: <p>I'm having trouble setting up a release pipeline on Azure DevOps to publish a self-contained netcoreapp2.2 application to a third-party provider (Fast2Host).</p>
  
  <p>I'm trying to use <strong>MSDeploy Package Sync</strong> with the following configuration:</p>
  
  <blockquote>
    <p>steps:<br/>
    - task: rschiefer.MSDeployAllTheThings.msdeploy-package-sync.MSDeployPackageSync@0 <br/>
      displayName: 'MSDeploy Package Sync: '<br/>
      inputs:<br/>
        Package: '$(System.DefaultWorkingDirectory)/_xxx-CI/drop/xxx.ui.zip'<br/>
        DestinationComputer: '<a href="https://xxx.co.uk:8172/msdeploy.axd?site=xxx.co.uk" rel="nofollow noreferrer">https://xxx.co.uk:8172/msdeploy.axd?site=xxx.co.uk</a>'<br/>
        AuthType: basic<br/>
        Username: xxx<br/>
        Password: xxx<br/>
        AdditionalArguments: '-setParam:name="DeployIisAppPath",value="xxx
    xxx.co.uk"'<br/></p>
  </blockquote>
  
  <p>When I run the release, I get the following error
  <code>Error: Unrecognized argument 'DeployIisAppPath'.</code></p>
  
  <p>Can anyone help me understand what im doing wrong?</p>
  
  <p>I can "publish" the app locally directly from visual studio using the following publish profile which I think gets called by msdeploy.</p>
  
  <pre><code>&lt;Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup&gt;
      &lt;WebPublishMethod&gt;MSDeploy&lt;/WebPublishMethod&gt;
      &lt;LastUsedBuildConfiguration&gt;Release&lt;/LastUsedBuildConfiguration&gt;
      &lt;LastUsedPlatform&gt;Any CPU&lt;/LastUsedPlatform&gt;
      &lt;SiteUrlToLaunchAfterPublish&gt;http://xxx.co.uk&lt;/SiteUrlToLaunchAfterPublish&gt;
      &lt;LaunchSiteAfterPublish&gt;True&lt;/LaunchSiteAfterPublish&gt;
      &lt;ExcludeApp_Data&gt;False&lt;/ExcludeApp_Data&gt;
      &lt;ProjectGuid&gt;b30efa60-9341-4fc8-a356-44735d165cfd&lt;/ProjectGuid&gt;
      &lt;MSDeployServiceURL&gt;https://xxx.co.uk:8172/msdeploy.axd?site=xxx.co.uk&lt;/MSDeployServiceURL&gt;
      &lt;DeployIisAppPath&gt;xxx.co.uk&lt;/DeployIisAppPath&gt;
      &lt;RemoteSitePhysicalPath /&gt;
      &lt;SkipExtraFilesOnServer&gt;True&lt;/SkipExtraFilesOnServer&gt;
      &lt;MSDeployPublishMethod&gt;WMSVC&lt;/MSDeployPublishMethod&gt;
      &lt;EnableMSDeployBackup&gt;True&lt;/EnableMSDeployBackup&gt;
      &lt;UserName&gt;xxx&lt;/UserName&gt;
      &lt;_SavePWD&gt;True&lt;/_SavePWD&gt;
      &lt;TargetFramework&gt;netcoreapp2.2&lt;/TargetFramework&gt;
      &lt;RuntimeIdentifier&gt;win-x86&lt;/RuntimeIdentifier&gt;
      &lt;SelfContained&gt;true&lt;/SelfContained&gt;
      &lt;_IsPortable&gt;false&lt;/_IsPortable&gt;
    &lt;/PropertyGroup&gt;
  &lt;/Project&gt;
  </code></pre>