MonoDevelop.Projects.ProjectExtension.OnPrepareForEvaluation C# (CSharp) Method

OnPrepareForEvaluation() protected method

Called just after the MSBuild project is loaded but before it is evaluated.
Subclasses can override this method to transform the MSBuild project before it is evaluated. For example, it can be used to add or remove imports, or to set custom values for properties. Changes done in the MSBuild files are not saved.
protected OnPrepareForEvaluation ( MonoDevelop.Projects.MSBuild.MSBuildProject project ) : void
project MonoDevelop.Projects.MSBuild.MSBuildProject The project
return void
		internal protected virtual void OnPrepareForEvaluation (MSBuildProject project)
		{
			next.OnPrepareForEvaluation (project);
		}

Usage Example

Example #1
0
 /// <summary>
 /// Called just after the MSBuild project is loaded but before it is evaluated.
 /// </summary>
 /// <param name="project">The project</param>
 /// <remarks>
 /// Subclasses can override this method to transform the MSBuild project before it is evaluated.
 /// For example, it can be used to add or remove imports, or to set custom values for properties.
 /// Changes done in the MSBuild files are not saved.
 /// </remarks>
 internal protected virtual void OnPrepareForEvaluation(MSBuildProject project)
 {
     next.OnPrepareForEvaluation(project);
 }