public override void Generate(ProjectType projectType, MSBuild.Project project) { var target = project.Xml.AddImport(Project); }
/// <summary> /// Creates a new project definition which can be included in a solution or generated. /// </summary> /// <param name="name">The name of the project</param> /// <param name="projectType">The project type which controls the language being tested</param> /// <param name="items">The items included in the project</param> public ProjectDefinition(string name, ProjectType projectType, params ProjectContentGenerator[] items) { ProjectType = projectType; _name = name; Items = items; }
public ProjectDefinition(string name, ProjectType projectType, bool isUserProject, params ProjectContentGenerator[] items) : this(name, projectType, items) { _isUserProject = isUserProject; }
/// <summary> /// Generates the specified item. The item can use the project type to /// customize the item. The item can write it's self out to disk if /// necessary and update the project file appropriately. /// </summary> public abstract void Generate(ProjectType projectType, MSBuild.Project project);