RequiresCompilationPass2 Property

PartialClassGenerationTask.RequiresCompilationPass2 Property

.NET Framework (current version)

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

Namespace:   Microsoft.Build.Tasks.Xaml
Assembly:  XamlBuildTask (in XamlBuildTask.dll)

public bool RequiresCompilationPass2 { get; set; }

Property Value

Type: System.Boolean

true if there are unresolved types; otherwise, false.

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.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft