32 references to AppendLine
Microsoft.DotNet.SignTool (32)
src\SignTool.cs (32)
146
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
147
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
151
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
152
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
153
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
154
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
155
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
157
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
159
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
163
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(fileToSign.FullPath)}"">");
164
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{fileToSign.SignInfo.Certificate}</Authenticode>");
167
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
169
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
172
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
175
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
176
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running non-OSX files signing process."" />");
177
AppendLine
(builder, depth: 1, text: @"</Target>");
179
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
180
AppendLine
(builder, depth: 0, text: @"</Project>");
190
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
191
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
193
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
195
AppendLine
(builder, depth: 1, text: $@"<PropertyGroup>");
196
AppendLine
(builder, depth: 2, text: $@"<MACFilesTarget>{fullPathOSXFilesFolder}</MACFilesTarget>");
197
AppendLine
(builder, depth: 2, text: $@"<MACFilesCert>{osxCertificateName}</MACFilesCert>");
198
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
199
AppendLine
(builder, depth: 1, text: $@"</PropertyGroup>");
201
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
202
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running OSX files signing process."" />");
203
AppendLine
(builder, depth: 1, text: @"</Target>");
205
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
206
AppendLine
(builder, depth: 0, text: @"</Project>");