32 references to AppendLine
Microsoft.DotNet.SignTool (32)
src\SignTool.cs (32)
113
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
114
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
118
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
119
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
120
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
121
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
122
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
124
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
126
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
130
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(fileToSign.FullPath)}"">");
131
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{fileToSign.SignInfo.Certificate}</Authenticode>");
134
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
136
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
139
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
142
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
143
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running non-OSX files signing process."" />");
144
AppendLine
(builder, depth: 1, text: @"</Target>");
146
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
147
AppendLine
(builder, depth: 0, text: @"</Project>");
157
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
158
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
160
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
162
AppendLine
(builder, depth: 1, text: $@"<PropertyGroup>");
163
AppendLine
(builder, depth: 2, text: $@"<MACFilesTarget>{fullPathOSXFilesFolder}</MACFilesTarget>");
164
AppendLine
(builder, depth: 2, text: $@"<MACFilesCert>{osxCertificateName}</MACFilesCert>");
165
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
166
AppendLine
(builder, depth: 1, text: $@"</PropertyGroup>");
168
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
169
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running OSX files signing process."" />");
170
AppendLine
(builder, depth: 1, text: @"</Target>");
172
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
173
AppendLine
(builder, depth: 0, text: @"</Project>");