![]() |
VOOZH | about |
dotnet add package Uno.XamlMerge.Task --version 1.33.1
NuGet\Install-Package Uno.XamlMerge.Task -Version 1.33.1
<PackageReference Include="Uno.XamlMerge.Task" Version="1.33.1" />
<PackageVersion Include="Uno.XamlMerge.Task" Version="1.33.1" />Directory.Packages.props
<PackageReference Include="Uno.XamlMerge.Task" />Project file
paket add Uno.XamlMerge.Task --version 1.33.1
#r "nuget: Uno.XamlMerge.Task, 1.33.1"
#:package Uno.XamlMerge.Task@1.33.1
#addin nuget:?package=Uno.XamlMerge.Task&version=1.33.1Install as a Cake Addin
#tool nuget:?package=Uno.XamlMerge.Task&version=1.33.1Install as a Cake Tool
An msbuild task which enables the merging of WinUI XAML resource dictionaries into a single flat ResourceDictionary.
This code is derived from WinUI's BatchMergeXaml class, to be reused in any WinUI and Uno Platform Controls library.
This task is generally used to allow for separate resource dictionary authoring (which makes them easier to load and read) to avoid impacting resources lookup runtime performance. In WinUI, ResourceDictionary resolution is performed through a graph traversal of MergedDictionaries, which generally implies that a worse case resolution can require as many lookups as there are dictionaries.
To limit the impact of the traversal, this task task takes all resource dictionaries found in a specific MSBuild item group, and merges them into a single file. This file is then generally either named Themes\Generic.xaml or referenced as a merged dictionary from another Themes\Generic.xaml file.
See for more details on how to use this task.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 2 NuGet packages that depend on Uno.XamlMerge.Task:
| Package | Downloads |
|---|---|
|
Nventive.View.Uno
Nventive.View.Uno |
|
|
Nventive.View.Uno.WinUI
Nventive.View.Uno.WinUI |
Showing the top 3 popular GitHub repositories that depend on Uno.XamlMerge.Task:
| Repository | Stars |
|---|---|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
|
unoplatform/Uno.Themes
This library is designed to help you use the Material, Fluent or Cupertino design system with the Uno Platform
|
|
|
unoplatform/uno.toolkit.ui
A set of custom controls for the WinUI and the Uno Platform not offered out of the box by WinUI, such as Card, TabBar, NavigationBar, etc.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.34.0-dev.3 | 8,415 | 11/21/2024 |
| 1.33.1 | 64,443 | 11/21/2024 |
| 1.33.0-dev.2 | 142 | 11/21/2024 |
| 1.32.0-dev.61 | 89,876 | 12/5/2023 |
| 1.31.0-dev.59 | 180 | 11/8/2023 |
| 1.30.0-dev.54 | 168 | 11/8/2023 |
| 1.29.0-dev.52 | 158 | 11/8/2023 |
| 1.28.0-dev.46 | 165 | 11/8/2023 |
| 1.27.0-dev.44 | 334,167 | 7/21/2023 |
| 1.26.0-dev.40 | 102,402 | 2/17/2023 |
| 1.25.0-dev.38 | 299 | 2/17/2023 |
| 1.24.0-dev.34 | 259 | 2/15/2023 |
| 1.23.0-dev.24 | 328 | 2/8/2023 |
| 1.22.0-dev.22 | 2,123 | 1/12/2023 |
| 1.21.0-dev.21 | 305 | 12/19/2022 |
| 1.20.0-dev.20 | 239 | 12/19/2022 |
| 1.19.0-dev.19 | 249 | 12/19/2022 |
| 1.18.0-dev.18 | 294 | 12/16/2022 |
| 1.4.0-dev.8 | 135 | 11/21/2024 |
| 1.4.0-dev.7 | 123 | 11/20/2024 |
# (2024-11-21)
### Bug Fixes
* add a workaround for net461's XmlAttributeCollection.InsertAfter ([20e0cf9](https://github.com/unoplatform/uno.xamlmerge.task/commit/20e0cf93d0ffcdf2357c3a9cb43371e87de5affe))
* Adjust AdditionalFiles generation sequence ([#98](https://github.com/unoplatform/uno.xamlmerge.task/issues/98)) ([f0e11a1](https://github.com/unoplatform/uno.xamlmerge.task/commit/f0e11a1ab2d1c3537816e60037757dee483d23f3))
* Adjust assembly name rename ([#37](https://github.com/unoplatform/uno.xamlmerge.task/issues/37)) ([f70d6dd](https://github.com/unoplatform/uno.xamlmerge.task/commit/f70d6dd72ea98be335f201527f1230f1625a94a4))
* Adjust for incorrect duplicate page items ([#53](https://github.com/unoplatform/uno.xamlmerge.task/issues/53)) ([2f8b59d](https://github.com/unoplatform/uno.xamlmerge.task/commit/2f8b59df79a3b23a76127e208b524d03f6950f30))
* Allow for the same file to be present in multiple output ([#58](https://github.com/unoplatform/uno.xamlmerge.task/issues/58)) ([093fec3](https://github.com/unoplatform/uno.xamlmerge.task/commit/093fec3f7224f5eac998824834a0859df073871a))
* Always run generation on build ([#112](https://github.com/unoplatform/uno.xamlmerge.task/issues/112)) ([981a35b](https://github.com/unoplatform/uno.xamlmerge.task/commit/981a35bc3487bc9084457512cc4ed265e6e2576f))
* Avoid conflicts when a key is named like a TargetType ([#36](https://github.com/unoplatform/uno.xamlmerge.task/issues/36)) ([fc436ca](https://github.com/unoplatform/uno.xamlmerge.task/commit/fc436caebc467ab7827c69046d3aedde9a3b7aa4))
* Fix for outer builds ([be6191e](https://github.com/unoplatform/uno.xamlmerge.task/commit/be6191ebc06077e255c97988a4c76d0155450085))
* Fix XamlMerge task crash ([2cc40f4](https://github.com/unoplatform/uno.xamlmerge.task/commit/2cc40f49c354dae4be33d0252b4332f9929dec3c))
* Invalid merge inclusion ([#60](https://github.com/unoplatform/uno.xamlmerge.task/issues/60)) ([a7c211c](https://github.com/unoplatform/uno.xamlmerge.task/commit/a7c211c9c0d0ce5e8ac7ebfa72e4a321826bd083))
* Missing import for single merge file ([#54](https://github.com/unoplatform/uno.xamlmerge.task/issues/54)) ([f6c0fb0](https://github.com/unoplatform/uno.xamlmerge.task/commit/f6c0fb0e9a09a8616db6b49f811d8704e85fca86))
* Properly merge namespaces ([597372e](https://github.com/unoplatform/uno.xamlmerge.task/commit/597372e3aad24f69e1a6c0d4ed3b8da09d7eb4e9))
* **reg:** Add missing dependency on uno.sourcegenerator task ([f11018e](https://github.com/unoplatform/uno.xamlmerge.task/commit/f11018e7bd3beaf1066117c9a2d6b7a6e80b362f))
* **reg:** remove invalid debugger statement ([0546cc9](https://github.com/unoplatform/uno.xamlmerge.task/commit/0546cc9f53a8664a3969d784d2240f31d869146d))
* **single:** Adjust for assembly name in main assembly ([3d77c0c](https://github.com/unoplatform/uno.xamlmerge.task/commit/3d77c0ca7f4fdecef028d53d6eb4709380e4c8cd))
### Features
* Add support for multiple output merged files ([#50](https://github.com/unoplatform/uno.xamlmerge.task/issues/50)) ([c646cbd](https://github.com/unoplatform/uno.xamlmerge.task/commit/c646cbd7f91e3c563b558d06f86dd1adb804c447))
* Allow for key override for non-ignored namespaces ([#105](https://github.com/unoplatform/uno.xamlmerge.task/issues/105)) ([00ded04](https://github.com/unoplatform/uno.xamlmerge.task/commit/00ded0401f135a8c0873ec9f823309e7e8414129))
* Generate HotReload-friendly merged file when HR is enabled ([333dd48](https://github.com/unoplatform/uno.xamlmerge.task/commit/333dd4899d54a7b8cb05dca264f2b5056e556039))
* Support merging #using ([5a1c3e2](https://github.com/unoplatform/uno.xamlmerge.task/commit/5a1c3e29276afa8e54064bf89dcf060124747b66))