Multiline string in Azure Pipelines

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’t work. – task: VSBuild@1 inputs: solution: ‘$(solution)’ msbuildArgs: > ‘/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)’ MSBUILD : error MSB1008: Only one project can be…

Discover more

SwiftUI – how to save settings selections

struct CardOrder: View { @State private var order = UserDefaults.standard.integer(forKey: “Card Order”) var body: some View { List { HStack { Text(“Common to Rare”) .font(.system(size: 12)) .onTapGesture { self.setOrder(i: 0) } Spacer() if(order == 0) { Image(systemName: “checkmark”) .foregroundColor(Color.green) } } HStack { Text(“Hiragana to Kanji”) .font(.system(size: 12)) .onTapGesture { self.setOrder(i: 1) } Spacer() if(order…

Discover more