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