public ResolvedSolution(Solution solution, ConfigurationContext context) { this.Solution = solution; this.Context = context; foreach (var project in this.Solution.Projects) { var configuredTarget = new ConfiguredTarget(project); this.Solution.PreConfigure(configuredTarget, this.Context); project.Configure(configuredTarget, this.Context); this.Solution.PostConfigure(configuredTarget, this.Context); var resolvedTarget = new ResolvedTarget(this, configuredTarget); this.m_Targets.Add(resolvedTarget); } this.Resolve(); }
public abstract void Configure(ConfiguredTarget target, ConfigurationContext configuration);
/// <summary> /// Create new instance of resolved target. /// </summary> /// <param name="target">A target to resolve.</param> public ResolvedTarget(ResolvedSolution solution, ConfiguredTarget target) { this.Solution = solution; this.Target = target; }