32 references to AppendLine
Microsoft.DotNet.SignTool (32)
src\SignTool.cs (32)
145
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
146
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
150
AppendLine
(builder, depth: 1, text: @"<PropertyGroup>");
151
AppendLine
(builder, depth: 2, text: $@"<OutDir>{_args.EnclosingDir}</OutDir>");
152
AppendLine
(builder, depth: 2, text: $@"<IntermediateOutputPath>{_args.TempDir}</IntermediateOutputPath>");
153
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
154
AppendLine
(builder, depth: 1, text: @"</PropertyGroup>");
156
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
158
AppendLine
(builder, depth: 1, text: $@"<ItemGroup>");
162
AppendLine
(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(fileToSign.FullPath)}"">");
163
AppendLine
(builder, depth: 3, text: $@"<Authenticode>{fileToSign.SignInfo.Certificate}</Authenticode>");
166
AppendLine
(builder, depth: 3, text: $@"<StrongName>{fileToSign.SignInfo.StrongName}</StrongName>");
168
AppendLine
(builder, depth: 2, text: @"</FilesToSign>");
171
AppendLine
(builder, depth: 1, text: $@"</ItemGroup>");
174
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
175
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running non-OSX files signing process."" />");
176
AppendLine
(builder, depth: 1, text: @"</Target>");
178
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
179
AppendLine
(builder, depth: 0, text: @"</Project>");
189
AppendLine
(builder, depth: 0, text: @"<?xml version=""1.0"" encoding=""utf-8""?>");
190
AppendLine
(builder, depth: 0, text: @"<Project DefaultTargets=""AfterBuild"">");
192
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.props")}"" />");
194
AppendLine
(builder, depth: 1, text: $@"<PropertyGroup>");
195
AppendLine
(builder, depth: 2, text: $@"<MACFilesTarget>{fullPathOSXFilesFolder}</MACFilesTarget>");
196
AppendLine
(builder, depth: 2, text: $@"<MACFilesCert>{osxCertificateName}</MACFilesCert>");
197
AppendLine
(builder, depth: 2, text: $@"<SignType>{signKind}</SignType>");
198
AppendLine
(builder, depth: 1, text: $@"</PropertyGroup>");
200
AppendLine
(builder, depth: 1, text: @"<Target Name=""AfterBuild"">");
201
AppendLine
(builder, depth: 2, text: @"<Message Text=""Running OSX files signing process."" />");
202
AppendLine
(builder, depth: 1, text: @"</Target>");
204
AppendLine
(builder, depth: 1, text: $@"<Import Project=""{Path.Combine(MicroBuildCorePath, "build", "MicroBuild.Core.targets")}"" />");
205
AppendLine
(builder, depth: 0, text: @"</Project>");