WPF MSBuild Task Reference
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
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
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
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
Returns the directory of the current Microsoft .NET Framework runtime.
MarkupCompilePass1
Converts non-localizable Extensible Application Markup Language (XAML) project files to compiled binary format.
MarkupCompilePass2
Performs second-pass markup compilation on Extensible Application Markup Language (XAML) files that reference types in the same project.
MergeLocalizationDirectives
Merges the localization attributes and comments of one or more XAML binary format files into a single file for the whole assembly.
ResourcesGenerator
Embeds one or more resources (.jpg, .ico, .bmp, XAML in binary format, and other extension types) into a .resources file.
UidManager
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
Adds the <hostInBrowser /> element to the application manifest (projectname.exe.manifest) when a XAML browser application (XBAP) project is built.