This topic has not yet been rated - Rate this topic

CompilationPass2Task Class

An MS Build task that verifies that all the types referenced in the original input XAML files are resolved.

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.Build.Tasks.Xaml.CompilationPass2Task

Namespace:  Microsoft.Build.Tasks.Xaml
Assembly:  XamlBuildTask (in XamlBuildTask.dll)
public class CompilationPass2Task : Task

The CompilationPass2Task type exposes the following members.

  Name Description
Public method CompilationPass2Task Initializes a new instance of the CompilationPass2Task class.
Top
  Name Description
Public property ApplicationMarkup A list of XAML files to process, populated by MS Build.
Public property AssemblyName Gets or sets the name of the assembly to be generated.
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public property BuildEngine2 Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public property BuildEngine3 Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public property BuildTaskPath Gets or sets the path to the assembly for this build task.
Protected property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Public property HostObject Gets or sets the host object associated with the task. (Inherited from Task.)
Public property LocalAssemblyReference Gets or sets the path to the generated temporary assembly.
Public property Log Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.)
Public property References Gets or sets a list of assemblies to reference during the compilation process.
Public property RootNamespace Gets or sets the root namespace for the project.
Protected property TaskResources Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)
Top
  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Called by MS Build to execute the task. (Overrides Task.Execute().)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ