public override void CreateProjectFile(IEnumerable<string> args) { platforms = args.GetParametersForSwitchOrNull("platform-add") ?? platforms; configurations = args.GetParametersForSwitchOrNull("configuration-add") ?? configurations; SolutionFile = args.SwitchValue("solution-file") ?? SolutionFile; propertySheets = args.GetParametersForSwitchOrNull("property-sheet-add") ?? propertySheets; identityGuid = (args.SwitchValue("project-identity") ?? Path.GetFileName(OutputFile)).CreateGuid(); spec = Target.Load(SpecFile); AddProjectConfigurations(); AddGlobals(); AddDefaultCppImports(); AddPropertyGroupsForConfigurations(); AddCppImports(); AddExtensionSettings(); AddImportGroupsForPropertySheets(); AddOtherPropertyGroups(); AddItemDefinitionGroups(); AddItemGroups(); AddImportForTargets(); AddImportGroupForExtensions(); ProjectText.Add(@"</Project>"); Save(); }