Skip to content

10.0.20 breaks implicit styles #33203

@JPfahl

Description

@JPfahl

Description

After switching to 10.0.20 most of my implicit styles are not being applied to my xaml. This worked fine in 10.0.11 and every previous release for years. I use implicit styling for almost all of my xaml. This is in a debug build on multiple platforms. I have tried turning SourceGen off and on, no effect. Seems to work at least sometimes for classes basedon native maui classes, but anything based on them does not get styled.

Steps to Reproduce

Just compile and run the app, it is unusable as most of the styling is missing.

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.11

Affected platforms

Windows, Android

Affected platform versions

Android 35, windows 10.0.19041.0

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Labels

area-xamlXAML, CSS, Triggers, Behaviorsi/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.s/needs-attentionIssue has more information and needs another looks/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions