20 references to AppendLine
Microsoft.DotNet.SignTool (20)
src\SignTool.cs (20)
177
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
178
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
182
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
183
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
184
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
185
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
186
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
188
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
189
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
197
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(filePath)}"">");
198
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{(notarize ? SignToolConstants.MacNotarizationOperation : fileToSign.SignInfo.Certificate)}</Authenticode>");
201
AppendLine
(builder, depth: 3, text: $@"<MacAppName>{fileToSign.SignInfo.NotarizationAppName}</MacAppName>");
205
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
207
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
210
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
213
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
214
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running signing process."" />");
215
AppendLine
(builder, depth: 1, text: @"</Target>");
217
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
218
AppendLine
(builder, depth: 0, text: @"</Project>");