public void ProjectGroupTest1() { ProjectGroup XMLCR = new ProjectGroup("MyAssembly", Guid.Empty); XMLCR.AddReferences("System", "System.Core", "System.Xml.Linq", "System.Data.DataSetExtensions", "Microsoft.CSharp", "System.Data", "System.Xml"); XMLCR.AddFiles(@"AP\AP101000_APSetupMaint.cs", @"AP\AP102000_APAccess.cs", @"AP\AP202000_APVendorPriceMaint.cs", @"AP\AP202010_APPriceWorksheetMaint.cs"); string result = XMLCR.Result.ToString(); }
public CsProjectBuilder(string title, DirectoryInfo workingFolder, Guid projectGuid, Guid AssemblyGuid) { AssemblyInfoCs = new AssemblyInfoCs(title, AssemblyGuid); CsProj = new ProjectGroup(title, projectGuid); WorkingFolder = workingFolder; Title = title; PropertiesFolder = new DirectoryInfo(Path.Combine(WorkingFolder.FullName, "Properties")); AssemblyInfoFile = new FileInfo(Path.Combine(PropertiesFolder.FullName, "AssemblyInfo.cs")); }