Edit

Share via


WPF MSBuild task reference

The Windows Presentation Foundation (WPF) build process extends Microsoft build engine (MSBuild) with an additional set of build tasks, including tasks to compile markup and process resources.

In this section

Classifies a set of source resources as those that will be embedded into an assembly. If a resource is not localizable, it is embedded into the main application assembly; otherwise, it is embedded into a satellite assembly.

Generates an assembly if at least one XAML page in a project references a type that is declared locally in that project. The generated assembly is removed after the build process is completed, or if the build process fails.

Returns the directory of the current .NET Framework runtime.

Converts non-localizable XAML project files to compiled binary format.

Performs second-pass markup compilation on XAML files that reference types in the same project.

Merges the localization attributes and comments of one or more XAML binary format files into a single file for the whole assembly.

Embeds one or more resources (.jpg, .ico, .bmp, XAML in binary format, and other extension types) into a .resources file.

Checks, updates, or removes unique identifiers (UIDs), in order to localize all XAML elements that are included in the source XAML files.

Adds the <hostInBrowser /> element to the application manifest (<projectname>.exe.manifest) when a XAML Browser Application (XBAP) project is built.

See also