20 references to AppendLine
Microsoft.DotNet.SignTool (20)
src\SignTool.cs (20)
245
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
246
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
250
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
251
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
252
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
253
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
254
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
256
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.props")}"" />");
257
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
265
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(filePath)}"">");
266
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{(notarize ? SignToolConstants.MacNotarizationOperation : fileToSign.SignInfo.Certificate)}</Authenticode>");
269
AppendLine
(builder, depth: 3, text: $@"<MacAppName>{fileToSign.SignInfo.NotarizationAppName}</MacAppName>");
273
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
275
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
278
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
281
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
282
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running signing process."" />");
283
AppendLine
(builder, depth: 1, text: @"</Target>");
285
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "Microsoft.VisualStudioEng.MicroBuild.Core.targets")}"" />");
286
AppendLine
(builder, depth: 0, text: @"</Project>");