20 references to AppendLine
Microsoft.DotNet.SignTool (20)
src\SignTool.cs (20)
274
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
275
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
279
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
280
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
281
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
282
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
283
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
285
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.props")}"" />");
286
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
294
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(filePath)}"">");
295
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{(notarize ? SignToolConstants.MacNotarizationOperation : fileToSign.SignInfo.Certificate)}</Authenticode>");
298
AppendLine
(builder, depth: 3, text: $@"<MacAppName>{fileToSign.SignInfo.NotarizationAppName}</MacAppName>");
302
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
304
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
307
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
310
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
311
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running signing process."" />");
312
AppendLine
(builder, depth: 1, text: @"</Target>");
314
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.targets")}"" />");
315
AppendLine
(builder, depth: 0, text: @"</Project>");