20 references to AppendLine
Microsoft.DotNet.SignTool (20)
src\SignTool.cs (20)
266
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
267
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
271
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
272
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
273
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
274
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
275
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
277
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.props")}"" />");
278
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
286
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(filePath)}"">");
287
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{(notarize ? SignToolConstants.MacNotarizationOperation : fileToSign.SignInfo.Certificate)}</Authenticode>");
290
AppendLine
(builder, depth: 3, text: $@"<MacAppName>{fileToSign.SignInfo.NotarizationAppName}</MacAppName>");
294
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
296
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
299
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
302
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
303
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running signing process."" />");
304
AppendLine
(builder, depth: 1, text: @"</Target>");
306
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.targets")}"" />");
307
AppendLine
(builder, depth: 0, text: @"</Project>");