Can I use a multiline YAML string in Azure Pipelines?
Using the ASP.NET Core (.NET Framework) template I tried multilining the msbuildArgs but that didn
msbuildArgs
You can just put ' in the start and the end of the msbuildArgs:
'
- task: VSBuild@1 displayName: 'Build solution **\*.sln' inputs: vsVersion: latest msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true'