In .NET MAUI When creating a new ContentPage, the build reports
“InitializeComponent” does not exist in this context
This is clearly a bug in Maui and or Visual Studio 2022.
Has anyone found a solution or work around for this?
I have tried setting the Build Action to MauiXaml as suggested elsewhere but this does not help.
From what I can see the namespace is correct also.