Partager 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

  • FileClassifier Task
    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.

  • GenerateTemporaryTargetAssembly Task
    Generates an assembly if at least one Extensible Application Markup Language (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.

  • GetWinFXPath Task
    Returns the directory of the current Microsoft .NET Framework runtime.

  • MarkupCompilePass1 Task
    Converts non-localizable Extensible Application Markup Language (XAML) project files to compiled binary format.

  • MarkupCompilePass2 Task
    Performs second-pass markup compilation on Extensible Application Markup Language (XAML) files that reference types in the same project.

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

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

  • UidManager Task
    Checks, updates, or removes unique identifiers (UIDs), in order to localize all Extensible Application Markup Language (XAML) elements that are included in the source XAML files.

  • UpdateManifestForBrowserApplication Task
    Adds the <hostInBrowser /> element to the application manifest (projectname.exe.manifest) when a XAML browser application (XBAP) project is built.

See Also

Other Resources

MSBuild