private static void EmitNuGetPackagingProjFile(Dictionary <string, List <CheckData> > analyzers) { string original = Path.Combine(_sourceDirectory, "src", "Packaging", "Packaging.proj"); string generated = Path.Combine(_outputDirectory, "src", "Packaging", "Packaging.proj"); string marker = "INSERTNUGETPROJECTS"; var sb = new StringBuilder(); foreach (string analyzer in analyzers.Keys) { sb.AppendLine(CodeTemplates.GenerateNuGetProjectItem(analyzer)); } EmitFile(original, generated, marker, sb.ToString()); }