We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1bc077 commit 12f9567Copy full SHA for 12f9567
src/Microsoft.DotNet.Build.Tasks.Installers/src/CreateControlFile.cs
@@ -73,7 +73,11 @@ public override bool Execute()
73
{
74
writer.WriteLine($"{property.ItemSpec}: {property.GetMetadata("Value")}");
75
}
76
- writer.WriteLine($"Description: {Description}");
+
77
+ // As per the control spec, multiline descriptions must have leading spaces
78
+ // for each line after the first.
79
+ // Two spaces represents a verbatim line break (as compared to one for package authoring that will not be preserved).
80
+ writer.WriteLine($"Description: {Description.Replace("\n", "\n ")}");
81
return true;
82
83
0 commit comments