title: Multiline string in Azure Pipelines
body: <p>Can I use a <a href="https://stackoverflow.com/a/3790497/185123">multiline YAML string</a> in Azure Pipelines?</p>
  
  <p>Using the ASP.NET Core (.NET Framework) template I tried multilining the <code>msbuildArgs</code> but that didn't work.</p>
  
  <pre class="lang-yaml prettyprint-override"><code>- task: VSBuild@1
    inputs:
      solution: '$(solution)'
      msbuildArgs: &gt;
         '/p:DeployOnBuild=true /p:WebPublishMethod=Package'
         '/p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true'
         '/p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip"'
         '/p:DeployIisAppPath="Default Web Site"'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
  </code></pre>
  
  <blockquote>
    <p>MSBUILD : error MSB1008: Only one project can be specified.<br>
    Switch: '/p:DeployOnBuild=true</p>
  </blockquote>
  
  <hr>
  
  <p>Reviewing the <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#string" rel="noreferrer">string reference documentation</a> I don't see any about this topic.</p>