PartialClassGenerationTask.RequiresCompilationPass2 Property

Definition

Gets or sets a value that indicates whether this project requires executing the CompilationPass2Task task.

public:
 property bool RequiresCompilationPass2 { bool get(); void set(bool value); };
[Microsoft.Build.Framework.Output]
public bool RequiresCompilationPass2 { get; set; }
[<Microsoft.Build.Framework.Output>]
member this.RequiresCompilationPass2 : bool with get, set
Public Property RequiresCompilationPass2 As Boolean

Property Value

true if there are unresolved types; otherwise, false.

Attributes

Remarks

While processing the XAML files, the PartialClassGenerationTask looks for unresolved types. If it finds any, it launches the CompilationPass2Task that compiles all of the XAML files in the project and checks to make sure all types are resolved.

Applies to