Cannot switch from one tabbed page to other tabbed page, NotSupportedExceptionUnable to find the default constructor on type Microsoft.Maui.Controls.Platform.FragmentContainer.Please provide the missing constructor.

dedeepya yarlagadda 20 Reputation points
2024-07-19T13:57:05.1266667+00:00

Hi

In my project the Main page is a tabbedpage and when we switch from the main page to another page which is also a tabbed page we are seeing System.NotSupportedException: 'Unable to find the default constructor on type Microsoft.Maui.Controls.Platform.FragmentContainer. Please provide the missing constructor.'

The tabbedpages internally have one more tabbed page to have tabs.

I am not able to find the place where this exception occurred and not able to fix it.

please let us know how to proceed and fix this.

Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,208 questions
{count} votes