public void AddTargets( ITarget targetMask1, [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) { Targets.AddTargets(Util.FormatCallerInfo(sourceFilePath, sourceLineNumber), targetMask1); }
public void AddProject <TPROJECTTYPE>( ITarget projectTarget, bool inactiveProject = false, [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) { AddProject(typeof(TPROJECTTYPE), projectTarget, inactiveProject, Util.FormatCallerInfo(sourceFilePath, sourceLineNumber)); }
public void AddProject( Type projectType, ITarget projectTarget, bool inactiveProject = false, [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) { AddProject(projectType, projectTarget, inactiveProject, Util.FormatCallerInfo(sourceFilePath, sourceLineNumber)); }
public void SetStartupProject <TPROJECTTYPE>( [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) { IncludedProjectInfo includedProjectInfo = GetProject(typeof(TPROJECTTYPE)); if (includedProjectInfo == null) { throw new Error(string.Format("{0} error : Can't set project {1} as startup project of solution {2} and target {3} since it is not included in the configuration.", Util.FormatCallerInfo(sourceFilePath, sourceLineNumber), typeof(TPROJECTTYPE).Name, Solution.Name, Target)); } StartupProject = includedProjectInfo; }