Accesses XAML files that define types (with x:Class) and generates the corresponding source code that can be compiled into an assembly.
Assembly: XamlBuildTask (in XamlBuildTask.dll)
Gets or sets a list of XAML files to process, populated by MS Build.
Gets or sets the name of the assembly being compiled.
Gets or sets the path of the assembly that contains this build task.
Gets or sets a list of generated code files, one for each input file.
Gets or sets a list of XAML files that contain the markup for instantiating the newly generated types, one for each input file.
Gets or sets the file extension to add to the generated source files.
Gets or sets the prefix used to compose Help keywords from resource names.(Inherited from Task.)
Gets or sets the host object associated with the task.(Inherited from Task.)
Gets or sets whether the compilation of XAML markup is in process.
Gets or sets the known reference paths.
Gets or sets the language to generate source code in.
Gets or sets the directory of MS build project.
Gets or sets the directory to place the generated files.
Gets or sets a list of assemblies to reference.
Gets or sets a value that indicates whether this project requires executing the CompilationPass2Task task.
Gets or sets the root namespace for the project.
Gets or sets a list of source code files in the project.
Gets or sets the culture-specific resources associated with the task.(Inherited from Task.)
Gets or sets the collection of extension names used in XAML build type generation.
Gets or sets the collection of extension names used in XAML build type inspection.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Called by MS Build to execute the code generation task.(Overrides Task.Execute().)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The XAML files processed by this task define new types as well as instantiate those types. Theclass reads in the new type definitions and generates source code files. In addition, it generates a XAML file that contains the markup that instantiates the newly generated types.
This task should not be used to consume untrusted XAML inputs.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.