Uno.Dsp.Tasks 1.2.8

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Uno.Dsp.Tasks --version 1.2.8
NuGet\Install-Package Uno.Dsp.Tasks -Version 1.2.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Uno.Dsp.Tasks" Version="1.2.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Uno.Dsp.Tasks --version 1.2.8
#r "nuget: Uno.Dsp.Tasks, 1.2.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Uno.Dsp.Tasks as a Cake Addin
#addin nuget:?package=Uno.Dsp.Tasks&version=1.2.8

// Install Uno.Dsp.Tasks as a Cake Tool
#tool nuget:?package=Uno.Dsp.Tasks&version=1.2.8

Uno DSP Tooling - MSBuild Tasks

This is the package that contains the MSBuild tasks to automate the generation of the color overrides file in projects using Uno.

This is used to generate Color Overrides file for project using Uno.Themes like documented on the official documentation.

How to get your DSP file

DSP Files are used to define the color palette of a theme and can be generated using the Material V3 Theme Builder web site. Simply export using the "Material Tokens (DSP)" format and download the generated zip file.


  1. You need to add reference to the Uno.Dsp.Tasks package in the project where you want the color overrides file to be generated.

    [-- MyProject.Shared\MyProject.Shared.csproj --]
        [-- You'll need to replace the version for the proper one --]
        <PackageReference Include="Uno.Dsp.Tasks" Version="[version]" />
  2. Place your DSP zip file close to where you want the color overrides file to be generated. This is usually in the Styles folder on the shared project.

    ex: MyProject.Shared\Styles\

  3. You need to add the following PropertyGroupto your project file:

    [-- MyProject.Shared\MyProject.Shared.csproj --]
       <UnoDspImportColors Include="*.zip" Generator="xaml" />
  4. Compile and you should get a new file named MyTheme.xaml in the same folder as your DSP file.

  5. Reference this file in your App.xaml file, following the Uno Themes documentation:

    [-- App.xaml --]
       <MaterialColors xmlns="using:Uno.Material"
                       OverrideSource="ms-appx:///Styles/MyTheme.xaml" />

Another tool - CLI

Another tool exists, called Uno.Dsp.Cli to generate the output file from the command line. It is less integrated than this MSBuild task, but it can be used to generate the color overrides file from a DSP file that is not in your project or if you need more flexibility on the moment when it is generated.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Uno.Dsp.Tasks:

Repository Stars
Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
Version Downloads Last updated
1.3.0-dev.2 1,094 11/15/2023
1.2.8 709 11/17/2023
1.2.7 4,777 11/1/2023
1.2.0-dev.34 2,563 9/29/2023
1.2.0-dev.32 334 9/26/2023
1.2.0-dev.30 78 9/26/2023
1.2.0-dev.28 42 9/26/2023
1.2.0-dev.20 2,378 9/13/2023
1.2.0-dev.18 1,142 8/30/2023
1.2.0-dev.12 972 8/15/2023
1.2.0-dev.8 1,835 7/21/2023
1.2.0-dev.6 71 7/21/2023
1.2.0-dev.3 79 7/21/2023
1.1.0 23,408 5/30/2023
1.1.0-dev.14 379 5/16/2023
1.1.0-dev.12 89 5/12/2023
1.1.0-dev.10 72 5/12/2023
1.1.0-dev.8 170 4/3/2023
1.1.0-dev.4 160 3/20/2023
1.1.0-dev.2 93 3/17/2023
1.0.1 14,070 3/17/2023
1.0.0 223 3/17/2023
0.1.0-dev.56 206 3/17/2023
0.1.0-dev.55 119 3/16/2023
0.1.0-dev.52 79 3/16/2023
0.1.0-dev.50 76 3/15/2023