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