Skip to content

.Net 10 app craashes at startup with Fragment error #10556

@marcojak

Description

@marcojak

Description

If I update my app to MAUI 10 and .Net 10, I get the following error:

java.lang.IllegalArgumentException: No view found for id 0x7f0900fd (com.hightouch.safenotes2:id/italic) for fragment NavigationRootManager_ElementBasedFragment{5e202cf} (7ca5a27f-a5e3-4339-97ec-fd5a6be67fb7 id=0x7f0900fd)

As a workaround, I have to clean the solution, uninstall the app from the simulator and then it might work.
If I go back to MAUI 9 and .Net 9, I don't have the issue anymore.

Steps to Reproduce

I simply run my project and after the splashscreen I get the error instead of seeing the first page of my app.

If I go back to .Net 9 and MAUI 9, then it works.

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.110 SR11

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

Sometimes, cleaning the solution and reinstalling the app works

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions