dotnet / dotnet/maui

Maui version upgrade breaks runtime code 10.0.20 -> 10.0.100

Open
#37,993 6 comments 1 reaction 0 assignees View on GitHub
area-setup platform/android t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

I've tried to upgrade the Maui workload and dotnet packages of a project I'm working on, which compiles fine, but upon trying to run it, I get the error Method not found: int .Style.get_Maui_Material3_Theme_NoActionBar()

### Steps to Reproduce

Have a MAUI Project based upon 10.0.20
Run dotnet workload update
update the dotnet maui control package to 10.0.100

Code no longer runs on android emulator

### Link to public reproduction project repository

_No response_

### Version with bug

10.0.100

### Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

### Last version that worked well

10.0.20

### Affected platforms

Android

### Affected platform versions

_No response_

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start with a .NET MAUI project based on 10.0.20, update the workload and .NET MAUI control package to 10.0.100, and run it on an Android emulator. Compare the runtime failure and the Method not found error across both versions; done means the upgraded project runs successfully on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.