Unplanned
Last Updated: 07 Jan 2026 17:57 by ADMIN
Ansh
Created on: 07 Jan 2026 09:49
Category: UI for .NET MAUI
Type: Bug Report
1
Theming: Thousands of warnings when building an app that uses the theme
when building an app with adding the Theming, there are thousands of warnings.
1 comment
ADMIN
Lance | Senior Manager Technical Support
Posted on: 07 Jan 2026 17:57

Telerik Community,

You can suppress this as a temporary measure, using the following config in your csproj:

<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFrameworks>net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
        <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041</TargetFrameworks>
        <OutputType>Exe</OutputType>
        <RootNamespace>TelerikMauiApp1</RootNamespace>
        <UseMaui>true</UseMaui>
        <SingleProject>true</SingleProject>
        <ImplicitUsings>enable</ImplicitUsings>

        <!-- Supressing invalid XamlC compiled binding warnings from theme files -->
        <NoWarn>$(NoWarn);XC0022;XC0023;XC0024;XC0025</NoWarn>
        <MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);XC0022;XC0023;XC0024;XC0025</MSBuildWarningsAsMessages>

    ...
    </PropertyGroup>

    <PropertyGroup>
        <UseTelerikTheming>true</UseTelerikTheming>
    </PropertyGroup>
    ...
</Project>

Regards,
Lance | Senior Manager Technical Support
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.